GCC 4.7 on Android G++ Compiler Build Fail "This Linker Not Config To Use Sysroots"

Cyd Haselton chaselton@gmail.com
Sat Sep 27 11:00:00 GMT 2014


Background:
I'm using GCC 4.7.0 (without a c++ compiler)  on an Android device in
an emulated Linux environment (KBOX) to build a C++ compiler.  My goal
is to build a 4.7.0 C++ compiler, then build a 4.8.0 C++ compiler.

No matter which config flags I use, the build keeps failing with
"/usr/local/bin/ld" this linker is not configured touse sysroots"
I've checked the specs for the ld at that location, and it does
support sysroot.

What am I doing wrong?

Please let me know what logs, env vars, etc. I should send to aid in
troubleshooting...

Thanks,
Cyd



More information about the Gcc-help mailing list