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 compiling egcs-1.1.2 for HP-UX 10.20


Thanx for all the suggestions on compiling egcs-1.1.2. Unfortunately
I still haven't been able to get it to compile. Also, I should have
provided more information on the surrounding environment. So, here
goes.

------------
Previously I was using tcsh, HP sed (both the standard version and
the version from the patch), gcc-2.7.2.1 aswell as HP cc. With this
setup and using the following configure line:

./configure --prefix=/usr/local/free

I was unable to compile due to the error message shown below. (Please
note that I get the same error all the time - no matter how my
environment is set up.)
------------

Following several suggestions I set up my environment as follows.

------------
bash-2.03
sed-3.02
binutils-2.91
LANG=C
gcc-2.7.2.1
make-3.75
I set up the PATH to ensure that all the gnu tools were used

./configure --prefix=/usr/local/free --with-gnu-as
--local-prefix=/usr/local/free
-------------

The following is the error message I get. Please note that the
directory /usr/local/include does not (and should not) exist.
I do not understand why the compile process is trying to install
there, considering that I set configure to use /usr/local/free ...

-------------
rm -f include/limits.h
cp xlimits.h include/limits.h
chmod a+r include/limits.h
rm -f include/float.h
if [ -s gfloat.h ]; then \
  cp gfloat.h include/float.h && \
  chmod a+r include/float.h; \
else :; fi
rm -f include/README
cp ./README-fixinc include/README
chmod a+r include/README
touch stmp-int-hdrs
rm -f SYSCALLS.c tmp-SYSCALLS.s
cat ./sys-types.h ./sys-protos.h > SYSCALLS.c
/usr/local/free/src/egcs/egcs-1.1.2/gcc/xgcc
-B/usr/local/free/src/egcs/egcs-1.1.2/gcc/  -DIN_GCC    -O2 -I./include     -I.
-I. -I./config \
  -aux-info SYSCALLS.c.X -S -o tmp-SYSCALLS.s SYSCALLS.c
SYSCALLS.c:0: /usr/local/include/.: Permission denied
make[1]: *** [SYSCALLS.c.X] Error 1
make[1]: Leaving directory `/tmp_mnt/usr/local/free/src/egcs/egcs-1.1.2/gcc'
make: *** [all-gcc] Error 2
------------

Any help would be appreciated!
/Johannes

-- 
Johannes Ramm-Ericson, UNIX System Administrator
Ericsson Mobile Communications AB, Lund, Sweden 
Tel: +46 46 19 36 91	Mob: +46 703 19 36 91
E-mail: johannes.ramm-ericson@ecs.ericsson.se


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