This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Downgrade unsuccessfull
- From: Paolo Carlini <pcarlini at unitus dot it>
- To: "Paulo J. Matos aka PDestroy" <pocm at rnl dot ist dot utl dot pt>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 26 Nov 2001 23:12:36 +0100
- Subject: Re: Downgrade unsuccessfull
- References: <m3itbx5hvy.fsf@localhost.localdomain>
> Any ideas?
Well, I don't know if the following is the best way to deal with your problem, but it
works very well for me:
1- At configure time I add the parameter "--prefix=/usr/local/something", then I build and
install in the usual way.
2- When I want to use the compiler, I source (for tcsh):
setenv PATH /usr/local/something/bin:$PATH
setenv LD_LIBRARY_PATH /usr/local/something/lib:$LD_LIBRARY_PATH
setenv MANPATH /usr/local/something/man:$MANPATH
setenv INFOPATH /usr/local/something/info:$INFOPATH
(if you prefer bash, PATH="/usr/local/something/bin:$PATH"; export PATH, etcetera...)
In this way, all the data of the compiler becomes first in the search lists and you can
use it as usual.
Cheers,
Paolo.