<div dir="rtl"><div dir="ltr">Wow, mingw-w64 distributions has endless variations of include and library locations.</div><div dir="ltr">On base of the current SVN (without any previous patches I sent), try the attached patch.<br></div><div dir="ltr"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div dir="ltr">2015-07-12 18:33 GMT+03:00 İsmail Dönmez <span dir="ltr"><<a href="mailto:ismail@donmez.ws" target="_blank">ismail@donmez.ws</a>></span>:</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
See the attached log.<br>
<div class="HOEnZb"><div class="h5"><br>
On Sun, Jul 12, 2015 at 6:15 PM, Yaron Keren <<a href="mailto:yaron.keren@gmail.com">yaron.keren@gmail.com</a>> wrote:<br>
> On Ubuntu 14.04 it's not the same location, it's in /usr/lib/gcc and not<br>
> /usr/lib64/gcc<br>
><br>
> #include <...> search starts here:<br>
>  /usr/include/c++/4.8<br>
>  /usr/include/c++/4.8/x86_64-w64-mingw32<br>
>  /usr/include/c++/4.8/backward<br>
>  /usr/lib/gcc/x86_64-w64-mingw32/4.8/include<br>
>  /usr/lib/gcc/x86_64-w64-mingw32/4.8/include-fixed<br>
>  /usr/lib/gcc/x86_64-w64-mingw32/4.8/../../../../x86_64-w64-mingw32/include<br>
> End of search list.<br>
> GNU C++ (GCC) version 4.8.2 (x86_64-w64-mingw32)<br>
><br>
> Can you send the full output of<br>
><br>
> /usr/bin/x86_64-w64-mingw32-g++ -c -v a.cpp<br>
><br>
> where a.cpp is some source file?<br>
><br>
><br>
><br>
> 2015-07-12 16:47 GMT+03:00 İsmail Dönmez <<a href="mailto:ismail@donmez.ws">ismail@donmez.ws</a>>:<br>
>><br>
>> [snip]<br>
>><br>
>> > P.S: The problem on Cygwin side seems to be that my toolchain is<br>
>> > missing libgcc_s.a and this seems to be working fine since I build the<br>
>> > whole toolchain as static. Do you think its reasonable to<br>
>> > conditionally add -lgcc_s depending on it exists or not?<br>
>><br>
>> Honestly though this is non-standard and not worth adding code for.<br>
>> The situation on Linux is still a regression though :/<br>
>><br>
>> Thanks a lot!<br>
><br>
><br>
</div></div></blockquote></div><br></div>