于 2012/5/30 21:10, Ruben Van Boxem 写道:
2012/5/30 xunxun <xunxun1982@gmail.com>
于 2012/5/30 20:55, Ruben Van Boxem 写道:

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?
I think it's related with the --sysroot, which can hardcode the path.

When I don't use --sysroot, specs will be in default path.

But if using cross compiling, --sysroot should be a prerequisite option.

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 :)

Ruben
Forward to MinGW64 mail list :)
 

--
Best Regards,
xunxun




-- 
Best Regards,
xunxun