This is the mail archive of the gcc-help@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]

installing gcc for later replacement


More newbie questions for gcc 3.0.4 on Red Hat 7.2:

I have done configure, make, make -k check, and am now ready to install.

When later versions of gcc are released, I would like to replace this 
version with the later version.  I don't completely understand, but I get 
the impression the following might work:

1) I can redo configure with the following modification:
sourcedir/configure --prefix=/targetdir

2) rerun make, then do make install

If I understand correctly, the configure I already did will cause make 
install to place files all over the place, but if I rerun configure as 
above, the whole installation will go into /targetdir, I would then delete 
and replace /targetdir when I do this all again later for a new version.

If I don't do any of the above, and just run make install from the state I'm 
in now, what happens when I try to build a new gcc?

Thanks for the help so far, and for any advice that might be offered on 
this.

Scott Pollock
beezaur@hotmail.com



_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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