* [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
* [Buildroot] Incorrect sysroot?
2011-10-07 12:22 [Buildroot] Incorrect sysroot? Ether Brat
@ 2011-10-07 12:39 ` Thomas Petazzoni
2011-10-07 13:15 ` Ether Brat
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2011-10-07 12:39 UTC (permalink / raw)
To: buildroot
Le Fri, 7 Oct 2011 22:22:56 +1000,
Ether Brat <etherbrat@hotmail.com> a ?crit :
> 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
This looks like a path of a relatively recent Buildroot.
> -I/home/neil/Projects/ICnova-20110104-2/ICnova/build_avr32/staging_dir/include
And this a path from a very old Buildroot.
Aren't you mixing two Buildroot versions here ? Can you detail where
your external toolchain is coming from, where we can get it ?
Thanks!
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] Incorrect sysroot?
2011-10-07 12:39 ` Thomas Petazzoni
@ 2011-10-07 13:15 ` Ether Brat
0 siblings, 0 replies; 3+ messages in thread
From: Ether Brat @ 2011-10-07 13:15 UTC (permalink / raw)
To: buildroot
The external toolchain was built using Atmel's AVR32 buildroot which can
be downloaded from http://www.atmel.no/buildroot/buildroot-src.html
It compiles runnable c code, and compiles c++ code which I cannot run on
the target because the target's image does not include libstdc++
The (ICnova) buildroot in which I am attempting using the Atmel
toolchain is intended to produce an image containing libstdc++. This
buildroot was sourced from the target board's manufacturer. For some
reason, it will not produce a viable cross-toolchain. That is why I am
attempting to use the Atmel toolchain as an external toolchain.
On Fri, 2011-10-07 at 14:39 +0200, Thomas Petazzoni wrote:
> Le Fri, 7 Oct 2011 22:22:56 +1000,
> Ether Brat <etherbrat@hotmail.com> a ?crit :
>
> > 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
>
> This looks like a path of a relatively recent Buildroot.
>
> > -I/home/neil/Projects/ICnova-20110104-2/ICnova/build_avr32/staging_dir/include
>
> And this a path from a very old Buildroot.
>
> Aren't you mixing two Buildroot versions here ? Can you detail where
> your external toolchain is coming from, where we can get it ?
>
> Thanks!
>
> Thomas
> --
> Thomas Petazzoni, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
> http://free-electrons.com
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
^ 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.