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

Re: bootstrap/5187: gcc 3.0.3 fails to bootstrap on Sun Ultra 60 with Solaris 8


>parrot /usr/local/src/gcc-3.0.3 # /usr/local/stow/gcc-3.0.3/bin/gcc test.c
>gcc: installation problem, cannot exec `cc1': No such file or directory

Hi,

if you install your gcc under /usr/local/stow/gcc-3.0.3 you cannot simply use it
executing the gcc driver program, since all the other binaries and libraries
will not be found during the compilation. I have, like you, many different
versions installed and, when I want to use one of them, I source a file
containing something like (*) :

setenv PATH             /usr/local/stow/gcc-3.0.3/bin:$PATH
setenv LD_LIBRARY_PATH  /usr/local/stow/gcc-3.0.3/lib:$LD_LIBRARY_PATH
setenv MANPATH          /usr/local/stow/gcc-3.0.3/man:$MANPATH
setenv INFOPATH         /usr/local/stow/gcc-3.0.3/info:$INFOPATH

Then, everything works fine...

Cheers,
Paolo.

(*) This is the tcsh syntax, the bash syntax would be:

PATH="/usr/local/stow/gcc-3.0.3/bin:$PATH"; export PATH
...
...
...




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