Problems with gcc compiler

Eric Christopher echristo@cygnus.com
Fri Oct 20 11:23:00 GMT 2000


Barbara Oggioni wrote:
> 
> Hello,
> i've the following problem, I succesfull downloaded and installed the
> gcc (using swinstall) on my HP platform (HP-UX  B.10.20)
> but when I try to use it (I'm compiling another tool) this message
> appear :
> 
> gcc: installation problem, cannot exec `cpp': No such file or directory
> 

Since you didn't specify version of gcc I'm going to assume an old
version.  You likely need to set GCC_EXEC_PREFIX, e.g.

setenv GCC_EXEC_PREFIX /path/to/install/lib/gcc-lib/

Where /path/to/install is the prefix from configure, but can also be the
prefix that you installed gcc.

-eric


More information about the Gcc mailing list