On Wed, May 30, 2012 at 3:55 PM, Ruben Van Boxem
<[email protected]>wrote:

> 2012/5/30 Baruch Burstein <[email protected]>
>
>> Ruben,
>> I tried using a custom specs file with your Win64 build (I suspect it is
>> the same with other builds) as explained here:
>> http://www.mingw.org/wiki/SpecsFileHOWTO. I placed it at <mingw64
>> dir>\lib\gcc\<build>\<version>\specs, but it wasn't working. I used Process
>> Monitor to see if the file was even being read, and found that it is
>> searching in
>> "C:\home\ruben\mingw-w64\toolchain\mingw64mingw64\mingw64\lib\gcc\x86_64-w64-mingw32\specs",
>> which is obviously wrong.
>> Can you please fix this?
>>
>
> 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?
>
> Ruben
>
Sorry about the confusion. It turns out my custom specs file was the
problem. It works fine once I fixed it.
It is still curios that when a custom spec file is not specified at the
lib\... dir, it seems to be looking in that hardcoded path, but it doesn't
bother me anymore.

-- 
˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı
------------------------------------------------------------------------------
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