Building cross gcc for SPARCv8 (host is x86)
Yann E. MORIN
yann.morin.1998@anciens.enib.fr
Mon Oct 20 17:52:00 GMT 2008
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
More information about the crossgcc
mailing list