This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Using multiple compilers
- From: Mike Stump <mrs at apple dot com>
- To: "J.B. Brown" <brownie at csserver dot evansville dot edu>
- Cc: gcc at gnu dot org, ibitter at cc dot nih dot gov, jebrown at cc dot nih dot gov
- Date: Wed, 30 Jul 2003 16:18:48 -0700
- Subject: 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.