Adding additional system paths to a custom GCC

Tim Schumacher schumact@gmail.com
Fri Nov 16 04:14:00 GMT 2012


Hi All,

I am using Fedora linux.  I would like to build a gcc-4.7.2 with 
additional "system paths".  Meaning, I have an installation of the Boost 
C++ libraries installed at /usr/local/boost-1.52.0 and I would like to 
build a gcc that treats the boost include and lib dirs as system paths 
so that I don't have to specify -I and -L on all command lines compiling 
programs that use boost.  I'm guessing there is some easy way to do this 
at configure time for GCC?  I guess one way would be to re-build the 
boost libraries with the new compiler and specify the same --prefix that 
I used for the GCC tools.  Any thoughts on this would be greatly 
appreciated!

Thanks in advance!
Tim



More information about the Gcc-help mailing list