On Wed, May 30, 2012 at 1:06 PM, Baruch Burstein <[email protected]>wrote:
>
> On Thu, May 24, 2012 at 4:31 PM, Earnie Boyd <[email protected]
> > wrote:
>
>> On Thu, May 24, 2012 at 7:46 AM, Baruch Burstein <[email protected]>
>> wrote:
>>
>
>
>> On the other hand it will be easier to just add a specs file to the
>> /path/to/lib/gcc/TARGET/VERSION/ directory with the changed values.
>> You can get a specs file by simply doing g++ -dumpspecs > specs.
>>
>
> I tried this. I went to <mingw64_dir>\lib\gcc\x86_64-w64-mingw32\4.7.0 and
> ran `gcc -dumpspecs > specs`. I then edited the following line in that file:
>
> %(cpp_unique_options) %1 %{m*} %{std*&ansi&trigraphs} %{W*&pedantic*} %{w}
> %{f*} %{g*:%{!g0:%{g*} %{!fno-working-directory:-fworking-directory}}}
> %{O*} %{undef} %{save-temps*:-fpch-preprocess}
>
> to:
>
> %(cpp_unique_options) %1 %{m*} %{std*&c++11&trigraphs} %{W*&pedantic*}
> %{w} %{f*} %{g*:%{!g0:%{g*} %{!fno-working-directory:-fworking-directory}}}
> %{O*} %{undef} %{save-temps*:-fpch-preprocess}
>
> This seems to have no affect. Am I doing something wrong?
>
> I just tried using this spec file explicitly with the
-specs="<mingw64_dir>\lib\gcc\x86_64-w64-mingw32\4.7.0\specs" and it still
doesn't work. What am I doing wrong?
--
˙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