Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] (How-to properly use) external toolchain?
@ 2007-02-14 19:31 Piotr Adam Zolnierczuk
  2007-02-16 12:16 ` MikeW
  0 siblings, 1 reply; 2+ messages in thread
From: Piotr Adam Zolnierczuk @ 2007-02-14 19:31 UTC (permalink / raw)
  To: buildroot

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




-- 
 ________________________________________________________________
 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 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] (How-to properly use) external toolchain?
  2007-02-14 19:31 [Buildroot] (How-to properly use) external toolchain? Piotr Adam Zolnierczuk
@ 2007-02-16 12:16 ` MikeW
  0 siblings, 0 replies; 2+ messages in thread
From: MikeW @ 2007-02-16 12:16 UTC (permalink / raw)
  To: buildroot

Piotr Adam Zolnierczuk <pzolnier@...> writes:

> 
> Hi,
> I could not find answer in a FAQ nor in the mailing list archives, so I 
> am posting the question
>
> Q: 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-02-16 12:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-14 19:31 [Buildroot] (How-to properly use) external toolchain? Piotr Adam Zolnierczuk
2007-02-16 12:16 ` MikeW

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox