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: Static core C fails with CT_KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR (ver 1.2.1)


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


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