于 2012/5/30 21:10, Ruben Van Boxem 写道:
2012/5/30 xunxun <[email protected] <mailto:[email protected]>>

    于 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

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to