All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Incorrect sysroot?
@ 2011-10-07 12:22 Ether Brat
  2011-10-07 12:39 ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: Ether Brat @ 2011-10-07 12:22 UTC (permalink / raw)
  To: buildroot

I am trying to use buildroot with an external toolchain.

The following output from buildroot seems to indicate that sysroot has
not been set up correctly:

=====<quote>
checking for avr32-linux-gcc...
/home/neil/Projects/Atmel-buildroot-avr32-v3.0.0-1-1/output/staging/usr/bin/avr32-linux-gcc
-Os -pipe -Os
-I/home/neil/Projects/ICnova-20110104-2/ICnova/build_avr32/staging_dir/include
-I/home/neil/Projects/ICnova-20110104-2/ICnova/build_avr32/staging_dir/usr/include
-I/home/neil/Projects/Atmel-buildroot-avr32-v3.0.0-1-1/output/staging/usr/avr32-linux/include
--sysroot /home/neil/Projects/ICnova-20110104-2/ICnova/build_avr32/staging_dir/
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.
make: ***
[/home/neil/Projects/ICnova-20110104-2/ICnova/build_avr32/gdbserver-6.7.1/.configured]
Error 77
=====<unquote>

The correct compiler has been invoked, but sysroot is not pointing to
the correct container for the compatible .../lib (which sits beside
the .../bin directory containing the compiler (actually a simlink to
ccache).

Is my understanding correct? How can I fix this?

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

end of thread, other threads:[~2011-10-07 13:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-07 12:22 [Buildroot] Incorrect sysroot? Ether Brat
2011-10-07 12:39 ` Thomas Petazzoni
2011-10-07 13:15   ` Ether Brat

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.