gcc install/upgrade question

bruce bedouglas at earthlink.net
Mon Nov 5 02:20:14 UTC 2007


hi...

a basic question.

fc6 comes with gc4.1 . i'm looking to test gc4.2, and would like to have a
parallel dev environment so i have both 4.1 and 4.2.

i'm trying to find pointers on what needs to be done, to make sure i don't
screw up the current 4.1 environment.

it appears that all i need to do is to set a prefix dir when i do the
initial configure.

 --./configure --prefix=/gcc42
 --make
 --make install

this appears to place everything under the gcc42 top level dir. however,
what will i need to do to actually be able to hook into the libs/objs
created by the gcc4.2 build. what will i have to insert into my paths, or
rather where should the information be placed.. in the bashrc/profile
files/etc...

pointers/sites on this would be helpful. haven't been able to find a good
site that walks through this...

once i test 4.2, i'll just rebuild, and rewrite gcc4.1. are there any issues
that i'm going to run into when i do that!

thanks





More information about the fedora-list mailing list