This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Relocatable toolchain


Hi,

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.

Cheers,
Filipp
--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]