Mon Jun 17 14:53:00 GMT 2013
Dear Filipp Andjelo,
On Mon, 17 Jun 2013 14:40:32 +0000, Filipp Andjelo wrote:
> I built a toolchain using crosstool-ng and it works fine, as far as I
> don't move it to another folder. I want to have a toolchain, which I can
> put everywhere, but how?
> If I run "gcc --print-sysroot", I get absolute path to the directory,
> where toolchain was built. If I check the same for google's Android
> toolchain, I get relative path
> to the gcc. How did they do that?
> Currently, I have a workaround using CFLAGS="--sysroot=path/to/sysroot",
> but It's not acceptable solution here.
Did you do some special configuration to Crosstool-NG? Because by
default, Crosstool-NG puts the toolchain sysroot is a correct location
that allows the toolchain to be relocatable. And it works well for me.
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc