2012/5/30 xunxun <firstname.lastname@example.org>
于 2012/5/30 20:55, Ruben Van Boxem 写道:
I think it's related with the --sysroot, which can hardcode
Hmm... it seems like it's looking in my --prefix or
--sysroot directory. The MinGW;org version would only work
if you installed it in C:\MinGW or are using MSYS.
I unfortunately do not know where this search path is
hardcoded in GCC. JonY or ktietz or anyone else: do you
know where I could make this path relative in GCC?
When I don't use --sysroot, specs will be in default path.
But if using cross compiling, --sysroot should be a
OK, so a native compiler might do without. I still think this
should be changed to respect sysroot. I hope someone knows
where to look :)