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

Re: Problems with gcc compiler


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

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