On Wed, May 23, 2012 at 3:52 AM, Baruch Burstein 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 w
于 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
--
2012/5/23 xunxun :
> 于 2012/5/24 0:17, xunxun 写道:
>>
>> 于 2012/5 /23 22:00, Kai Tietz 写道:
>>
>>> Hello Baruch,
>>>
>>> the only way to achieve this is by using a custom spec-file for gcc.
>>> See for ithttp://gcc.gnu.org/onlinedocs/gcc-3.1/gcc/Spec-Files.html
>>> as reference.
>>
>> I think this li
于 2012/5/24 0:17, xunxun 写道:
> 于 2012/5 /23 22:00, Kai Tietz 写道:
>> Hello Baruch,
>>
>> the only way to achieve this is by using a custom spec-file for gcc.
>> See for ithttp://gcc.gnu.org/onlinedocs/gcc-3.1/gcc/Spec-Files.html
>> as reference.
> I think this link : http://www.mingw.org/wiki/SpecsF
于 2012/5/23 22:00, Kai Tietz 写道:
> Hello Baruch,
>
> the only way to achieve this is by using a custom spec-file for gcc.
> See for ithttp://gcc.gnu.org/onlinedocs/gcc-3.1/gcc/Spec-Files.html
> as reference.
I think this link : http://www.mingw.org/wiki/SpecsFileHOWTO is very
clear...
--
Best Re
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 an
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?
> 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
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ʎ ɟı
---