This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Different installation and runtime directory
- To: gcc-help at gcc dot gnu dot org
- Subject: Different installation and runtime directory
- From: Laurent Pinchart <lpinchart at freegates dot be>
- Date: Sun, 17 Sep 2000 12:30:33 +0200
I want to install the latest version of gcc in /usr and its
subdirectories. As I want to keep a 'clean' system, I would like to
uninstall my current version of gcc, located in the same place, before
installing the new one.
As I need gcc to compile the new one (obviously), I thought about
compiling the new one, making a package (slackware), removing the old
one and installing the package.
My problem is that I have to specify --prefix=/usr to the configuration
script, as some paths related to the installation path are hardcoded in
the compiler (install-path/share/local for example). How can I then
install gcc to a temporary directory, as make install will install it to
/usr and overwrite some of my current gcc install ?
Thanks for your help.
Laurent Pinchart