This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
C++ installation on HP-UX.
- To: gcc-bugs at gcc dot gnu dot org
- Subject: C++ installation on HP-UX.
- From: "Austin Green" <Austin dot Green at telecom dot co dot nz>
- Date: Thu, 02 Dec 1999 11:05:17 +1300
Hi,
I'm having a problem trying to build GNU C++ on HP-UX.
The build appears to work OK, and C programs compile and run OK,
but C++ programs can't be compiled:
The command
.../gcc/bin/gcc x.c
(where ... is the path prefix to the compiler directory)
works OK, and the a.out runs correctly.
The command
.../gcc/bin/gcc -v --save-temps x.cpp
gives the following output:
Reading specs from .../gcc/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/specs
gcc version 2.95.2 19991024 (release)
gcc: x.cpp: C++ compiler not installed on this system
#C++collect2 -L/lib/pa1.1 -L/usr/lib/pa1.1 -z -u main /lib/crt0.o
-L.../gcc/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2 -L/.../gcc/lib x.cpp -lgcc -lc -lgcc
gcc: installation problem, cannot exec `#C++collect2': Permission denied
The configure command was:
../gcc-2.95.2/configure --enable-languages=c++ --prefix=.../gcc
After the installation stage, the compiler binaries directory contained:
-rwxr-xr-x 1 agreen 147668 Dec 2 10:15 cpp
-rwxr-xr-x 2 agreen 143571 Dec 2 10:15 gcc
-rwxr-xr-x 1 agreen 53373 Dec 2 10:15 gcov
-rwxr-xr-x 2 agreen 143571 Dec 2 10:15 hppa1.1-hp-hpux11.00-gcc
-rwxr-xr-x 1 agreen 98534 Dec 2 10:15 protoize
-rwxr-xr-x 1 agreen 90332 Dec 2 10:15 unprotoize
Hope it's something simple that you can spot straight off. :-)
Regards,
Austin.