[Mingw-w64-public] changing defaults
I am using ruben's 4.7 build. 1. How can I add paths to the default search paths for headers/libs so that I don't need to add -I -L to almost every project? 2. How can I set the default mode of g++ to be c++11? -- ˙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 Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] changing defaults
2012/5/23 Baruch Burstein bmburst...@gmail.com: I am using ruben's 4.7 build. 1. How can I add paths to the default search paths for headers/libs so that I don't need to add -I -L to almost every project? 2. How can I set the default mode of g++ to be c++11? -- ˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı Hello Baruch, the only way to achieve this is by using a custom spec-file for gcc. See for it http://gcc.gnu.org/onlinedocs/gcc-3.1/gcc/Spec-Files.html as reference. Regards, Kai -- 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 Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] changing defaults
2012/5/23 Baruch Burstein: I am using ruben's 4.7 build. 1. How can I add paths to the default search paths for headers/libs so that I don't need to add -I -L to almost every project? I believe just rebuilding. 2. How can I set the default mode of g++ to be c++11? Create .bat/.sh file and call g++ in it with an additional option '-std =c++11'. -- Regards, niXman ___ Dual-target(i686/x86_64) MinGW compiler for i686/x86_64 hosts: http://sourceforge.net/projects/mingwbuilds/ -- 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 Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] changing defaults
于 2012/5/24 2:04, Kai Tietz 写道: Well you can dump current default spec by option '-dumpspecs'. But I use gcc -dumpspecs specs1 g++ -dumpspecs specs2 gfortran -dumpspecs specs3 specs1, specs2 and specs3's content is the same... -- 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 Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] changing defaults
On Wed, May 23, 2012 at 3:52 AM, Baruch Burstein bmburst...@gmail.com wrote: I am using ruben's 4.7 build. 1. How can I add paths to the default search paths for headers/libs so that I don't need to add -I -L to almost every project? http://gcc.gnu.org/onlinedocs/gcc/Environment-Variables.html LIBRARY_PATH will at least remove the need for -L. You'll still need -l 2. How can I set the default mode of g++ to be c++11? Most projects accept CFLAGS for this purpose. -- 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 Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public