This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
egcs-19981005 fails to build on hpux-10.20
- To: egcs-bugs at cygnus dot com
- Subject: egcs-19981005 fails to build on hpux-10.20
- From: "Jerry Quinn" <Jerry dot Quinn dot jquinn at nt dot com>
- Date: Tue, 06 Oct 1998 16:34:18 -0400
- Organization: Nortel
I started from egcs-19980914 and brought it up to date with diff files
config.status contains:
#!/bin/sh
# This file was generated automatically by configure. Do not edit.
# This directory was configured as follows:
../../configure
--with-gcc-version-trigger=/usr/local/pkg/egcs/egcs-19981005/gcc
/version.c --host=hppa1.1-hp-hpux10.20
--prefix=/usr/local/pkg/egcs/egcs-1998100
5 --exec-prefix=/usr/local/pkg/egcs/egcs-19981005/hpux-10.20
--with-gnu-as --wit
h-fast-fixincludes --norecursion
# using "mh-frag"
make bootstrap gives the following results:
... [snip] ...
cc -c -DIN_GCC -g -DHAVE_CONFIG_H -DHAIFA -I. -I../../../gcc
-I../../../gcc/config -I../../../gcc/../include underscore.c
rm -f collect2
cc -DIN_GCC -g -DHAVE_CONFIG_H -DHAIFA -o collect2 collect2.o
tlink.o hash.o \
cplus-dem.o underscore.o version.o choose-temp.o mkstemp.o obstack.o
alloca.o ../libiberty/libiberty.a
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (collect2.o)
was detected. The linked output may not run on a PA 1.x system.
./xgcc -B./ -dumpspecs > tmp-specs
mv tmp-specs specs
echo "void __foo () {}" > dummy.c
./xgcc -B./ -DIN_GCC -g -I./include -c dummy.c
as: "/var/tmp/ccqaW8Pa.s", line 10: error 1052: Directive name not
recognized - FILE
as: "/var/tmp/ccqaW8Pa.s", line 12: error 1052: Directive name not
recognized - STABS
... [snip] ...
I installed gas 2.9.1 in the appropriate directories with:
make prefix=/usr/local/pkg/egcs/egcs-19981005
exec-prefix=/usr/local/pkg/egcs/egcs-19981005/hpux-10.20 install-gas
which installed gas as
/usr/local/pkg/egcs/egcs-19981005/hpux-10.20/bin/as and
/usr/local/pkg/egcs/egcs-19981005/hpux-10.20/hppa1.1-hp-hpux10.20/bin/as
I also placed a link to gas (named as) in the toplevel build directory.
These measures have worked in the past, but clearly xgcc isn't picking
up gas correctly.
--
Jerry Quinn Tel: (514) 761-8737
jquinn@nortel.ca Fax: (514) 761-8505
Speech Recognition Research