Static core C fails with CT_KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR (ver 1.2.1)

Yann E. MORIN yann.morin.1998@anciens.enib.fr
Mon Aug 18 16:20:00 GMT 2008


Hello Dimitriy! (Is that your correct name?)
Hello All!

On Monday 18 August 2008 13:30:57 Дмитрий wrote:
> Thanks everyone who has made this perfect tool. It had removed almost 
> all my headache.

Thanks! :-)

> I'm using kernel 2.6.25.13 (wich is not in the menu list) and i've tried 
> to set CT_KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR
> I've got Static core C build fails at the moment  of  coping  headers 
> from sys-root/usr/include becase it is emty.

The custom Linux kernel directory you point at should contain an already
prepared tree.

Something like:
# cd /some/place/linux-2.6.25.13
# make ARCH=whatrever headers_install INSTALL_HDR_PATH=$(pwd)/foobar

And then you point crosstool-NG at /some/place/linux-2.6.25.13/foobar

crosstool-NG does not do that for you when using custom headers, as they
might not come from a full kernel tree.

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    |  """  conspiracy.  |
°------------------------------°-------°------------------°--------------------°


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



More information about the crossgcc mailing list