Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Using external toolchain
@ 2014-12-19 19:33 Charles Krinke
  2014-12-20 15:10 ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Charles Krinke @ 2014-12-19 19:33 UTC (permalink / raw)
  To: buildroot

I'm working with buildroot 2011.02 on a project which is in production and
the company wishes to change to a newer toolchain, crosstools-ng version
1.20.0 (gcc-4.9.1).

I set in the toolchain with the location and prefix, but the build fails
with an incorrect sysroot.

For instance, the toolchain is at:

/opt/toolchains/powerpc-econolite_e300c2-linux-gnu/bin/powerpc-econolite_e300c2-linux-gnu-gcc

But the sysroot comes out:

--sysroot=
*/home/ckrinke/asc4_bsp/buildroot-glibc/output/host/usr/powerpc-unknown-linux-gnu/sysroot*

Note the "econolite" vs the "unknown" in the tuple. This is complicated by
the fact that output/host/usr/power* is non-existent

I *think* that one can specify sysroot when compiling and would appreciate
a suggestion or two to get me out of this despicable place.

-- 
Charles Krinke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20141219/c1720243/attachment.html>

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

end of thread, other threads:[~2014-12-23 19:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-19 19:33 [Buildroot] Using external toolchain Charles Krinke
2014-12-20 15:10 ` Thomas Petazzoni
2014-12-23 18:32   ` Charles Krinke
2014-12-23 19:49     ` Thomas Petazzoni

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