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
Tue Aug 19 12:48:00 GMT 2008
Hello Dimitriy!
Hello All!
Please, keep the list copied...
On Tuesday 19 August 2008 12:08:05 Дмитрий Барский wrote:
> I've made prepared kernell headers dir according LFS book (in fact the same
> you write) and the stage installing headers dir has passed successfully, but
> header files were not copied to sys-root/usr/include.
I just tested, and it worked for me... Please send you .config file.
Here's the steps I did:
# tar xjf linux-2.6.22.2.tar.bz2
# cd linux-2.6.22.2
# make INSTALL_HDR_PATH=foobar ARCH=arm headers_install
# make INSTALL_HDR_PATH=foobar ARCH=arm headers_check
# pwd
/home/ymorin/dev/linux-2.6.22.2
# cd ..
# tar xjf crosstool-ng-1.2.1.tar.bz2
# cd crosstool-ng-1.2.1
# ./configure --local
# make
# ./ct-ng arm-unknown-linux-uclibcgnueabi
# ./ct-ng menuconfig
( here , I change to use KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR and point
KERNEL_LINUX_HEADERS_CUSTOM_DIR to /home/ymorin/dev/linux-2.6.22.2/foobar )
# ./ct-ng build
And headers are correctly copied into sys-root/usr/include, and the build
completes.
Of course, I checked for ARM, but any other architecture should work!
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