This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using multiple compilers


On Wednesday, July 30, 2003, at 03:46 PM, J.B. Brown wrote:
I have a question regarding multiple builds of GCC on the same machine.

configure --prefix=$HOME/packages/gcc-3.3 && make && make install


However, I am not
sure how to tell programs (namely compilers and make environments) to use
the newly built 3.3 include files and libraries, instead of the old 2.9
libraries.

You need not do anything, other than:


PATH=$HOME/packages/gcc-3.3/bin:$PATH
LD_LIBRARY_PATH=$HOME/packages/gcc-3.3/lib:$LD_LIBRARY_PATH


This isn't the best list for such questions. This should be covered in the install manual.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]