This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
some strange building problems
- To: egcs at cygnus dot com
- Subject: some strange building problems
- From: Markus Werle <markus at lufmech dot rwth-aachen dot de>
- Date: Mon, 23 Nov 1998 16:56:01 +0100
Sure this is is just this kind of error that has a tiny little reason,
but I cannot imagine.
I tried all, I have read through the whole INSTALL directory
but cannot fix it, so please be patient and read through my problem:
My System: HP-UX 10.20 (patches for sed exist).
startup like this:
[markus@newton] ...EGCS/OBJECTS_3 > ../egcs-1.1b/configure
--prefix=/home/markus/EGCS/egcs --with-as=/opt/binutils/bin/as
--with-ld=/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/ld
Configuring for a hppa1.1-hp-hpux10.20 host.
Created "Makefile" in /home/markus/EGCS/OBJECTS_3 using "mh-frag"
Links are now set up to build a native compiler for hppa1.1-hp-hpux10.20
[...]
[markus@newton] ...egcs-1.1b/INSTALL > /opt/binutils/bin/as --version
GNU assembler 2.9.1
Copyright 1997 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
This assembler was configured for a target of `hppa1.1-hp-hpux10.20'.
[markus@newton] ...egcs-1.1b/INSTALL > gcc -v
Reading specs from /opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/specs
gcc version 2.8.1
ERROR: Somehow during compile as is not recognized as gnu as:
cc1: warning: -g is only supported when using GAS on this processor,
cc1: warning: -g option disabled.
This is really strange to me and I would like to know how to fix that.
========================================================================
So I try another way: Recompile binutils with same --prefix= argument as egcs:
Compilation runs through but installation fails:
[markus@newton] ...EGCS/binutils-2.9.1 > make install
/bin/sh ./mkinstalldirs /home/markus/EGCS/egcs /home/markus/EGCS/egcs
make[1]: Entering directory `/home/markus/EGCS/binutils-2.9.1/bfd'
Making install in doc
make[2]: Entering directory `/home/markus/EGCS/binutils-2.9.1/bfd/doc'
make[2]: Leaving directory `/home/markus/EGCS/binutils-2.9.1/bfd/doc'
/bin/sh ./../mkinstalldirs /home/markus/EGCS/egcs/lib
/bin/sh ./libtool --mode=install /bin/sh
/home/markus/EGCS/binutils-2.9.1/install-sh -c -m 644 libbfd.la
/home/markus/EGCS/egcs/lib/libbfd.la
/bin/sh /home/markus/EGCS/binutils-2.9.1/install-sh -c -m 644 libbfd.la
/home/markus/EGCS/egcs/lib/libbfd.la
cp libbfd.la /home/markus/EGCS/egcs/lib/#inst.24868#
chmod 644 /home/markus/EGCS/egcs/lib/#inst.24868#
rm -f -f /home/markus/EGCS/egcs/lib/libbfd.la
mv /home/markus/EGCS/egcs/lib/#inst.24868# /home/markus/EGCS/egcs/lib/libbfd.la
/bin/sh /home/markus/EGCS/binutils-2.9.1/install-sh -c -m 644 .libs/libbfd.a
/home/markus/EGCS/egcs/lib/libbfd.a
cp .libs/libbfd.a /home/markus/EGCS/egcs/lib/#inst.24877#
chmod 644 /home/markus/EGCS/egcs/lib/#inst.24877#
rm -f -f /home/markus/EGCS/egcs/lib/libbfd.a
mv /home/markus/EGCS/egcs/lib/#inst.24877# /home/markus/EGCS/egcs/lib/libbfd.a
ranlib /home/markus/EGCS/egcs/lib/libbfd.a
ranlib: /home/markus/EGCS/egcs/lib/libbfd.a: No such file or directory
make[1]: *** [install-libLTLIBRARIES] Error 9
make[1]: Leaving directory `/home/markus/EGCS/binutils-2.9.1/bfd'
make: *** [install-bfd] Error 2
WHAT IS WRONG? I ASK YOU, because the simple make all and make install
for egcs ran into the same problem. Is there anything missing?
Remember: there are 2 questions on 2 different problems in this mail message.
Thanks for any hint.
Markus