This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
installing gcc for later replacement
- From: "Scott Pollock" <beezaur at hotmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 18 Apr 2002 02:45:08 +0000
- Subject: installing gcc for later replacement
- Bcc:
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