help needed for builing gcc tool-chain
Ian Lance Taylor
iant@google.com
Sun Feb 12 19:08:00 GMT 2012
"Prashant Batra (prbatra)" <prbatra@cisco.com> writes:
>[Prashant] After copying the tool-chain onto a different machine, I am
> seeing the gcc/g++ still looks
> for the complete sysroot path, which is not present on this machine, so
> I am not able to use the tool chain.
> How is it possible ? Thanks
It's true that in general the fact that you can relocate a toolchain
across machines only applies to the installation directory. It does not
apply to the sysroot. (It may work if the sysroot is inside the
installation directory, I'm not sure).
Anyhow, you can use the --sysroot option at runtime.
Ian
More information about the Gcc-help
mailing list