This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building cross gcc for SPARCv8 (host is x86)


Hello Joselito!
Hello All!

On Thursday 16 October 2008 23:56:21 joselito wrote:
> i'm trying to build a cross gcc-based compiler  for SPARCv8/linux. Host
> machine is x86 running linux. My doubt is, how do i get the linux system
> headers neeeded to build the compiler? There is no include/asm-sparc
> directory in the kernel source tree.

You must not hand-copy the headers! There is a procedure for properly
installing the kernel headers:

make ARCH=sparc INSTALL_HDR_PATH=/some/where headers_install

Then you'll find the headers in /some/where. Of course, adapt to your setup! :-)
Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| --==< ^_^ >==-- `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
`------------------------------^-------^------------------^--------------------'


--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]