(How-to properly use) external toolchain?
Hi,
I could not find answer in a FAQ nor in the mailing list archives, so I am posting the question
Problem:
I am not sure I understand the meaning of BR2_TOOLCHAIN_EXTERNAL_LIB_C and BR2_TOOLCHAIN_EXTERNAL_LIBS config parameters
Synopsis:
Here's what I did
1. Got buildroot (revision 17875) and succesfully build toolchain only (gcc-4.1.1, binutils-2-17 and gdb-6.5, uClib latest snapshot) and installed it to /opt/arm directory (by setting BR2_STAGING_DIR="/opt/arm"). All target options were disabled.
2. Using the above I was able to compile linux kernel that works on my board (it happens to be at91sam9260ek, but that is I hope irrelevant)
3. Now I unpack buildroot to a separate directory and configure it to use my /opt/arm external toolchain. All works fine except that I have to manually copy several libs from /opt/arm/lib to (...)/buildroot/build_arm/root/lib. I tried several different BR2_TOOLCHAIN_EXTERNAL_LIB_C and BR2_TOOLCHAIN_EXTERNAL_LIBS but they seem to be simply ignored
Q: Any ideas as to what am I doing wrong?
Thanks
Piotr
Signature · 17 lines
________________________________________________________________
Piotr Adam Zolnierczuk
Indiana University phone: (812) 855-3613
Cyclotron Facility fax: (812) 855-6645
2401 Milo B Sampson Ln e-mail: pzolnier at indiana.edu
Bloomington,IN 47408, USA http://www.iucf.indiana.edu/~zolnie
________________________________________________________________
written on recycled electrons
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pzolnier.vcf
Type: text/x-vcard
Size: 305 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20070214/9733cb6a/attachment.vcf Quoted 11 lines · Piotr Adam Zolnierczuk
Hi,
I could not find answer in a FAQ nor in the mailing list archives, so I am posting the questionQ: Any ideas as to what am I doing wrong?
Thanks
Piotr
Thanks to the creator of the external toolchain option.
But I also have a difficulty.
I have set up the toolchain path and prefix, but there were problems finding (kernel header?) files such as linux/param.h, since they aren't inside the toolchain path.
I presume another include path needs setting up somewhere ... or a symlink ?
Regards,
Mike