This is the mail archive of the egcs@egcs.cygnus.com mailing list for the EGCS project. See the EGCS home page for more information.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
>>>>> "MG" == Marc Girod <girod@shire.ntc.nokia.com> writes:
MG> This went well until the first place where it attempted to build with
MG> -g (but not with -mgas: maybe I should overwrite some default CFLAGS?)
MG> where it gave the usual warnings:
Actually, I did this, i.e. I looked for the makefiles setting CFLAGS,
and added there -mgas
./libiberty/Makefile:57:CFLAGS = -O2
./Makefile:98:CFLAGS = -O2
./texinfo/intl/Makefile:55:CFLAGS = -O2
./texinfo/po/Makefile:40:CFLAGS = -O2
./texinfo/info/Makefile:152:CFLAGS = -O2
./texinfo/lib/Makefile:115:CFLAGS = -O2
./texinfo/makeinfo/Makefile:118:CFLAGS = -O2
./texinfo/util/Makefile:126:CFLAGS = -O2
./gcc/cp/Makefile:49:CFLAGS = -g
./gcc/f/Makefile:49:CFLAGS = -g
./gcc/Makefile:65:CFLAGS = -g
I then did a plain make
This failed almost at once:
gcc -c -DHAVE_CONFIG_H -O2 -mgas -I. -I../../egcs-1.1.2/libiberty/../include -fPIC ../../egcs-1.1.2/libiberty/argv.c -o pic/argv.o
as: "/var/tmp/ccGOh5Mn.s", line 19: error 1052: Directive name not recognized - NSUBSPA
as: "/var/tmp/ccGOh5Mn.s", line 103: error 1052: Directive name not recognized - NSUBSPA
as: "/var/tmp/ccGOh5Mn.s", line 145: error 1052: Directive name not recognized - NSUBSPA
make[1]: *** [argv.o] Error 1
make[1]: Leaving directory `/tmp_mnt/tools/contrib/gen/src/egcs-1.1.2-hppa1.1-bld/libiberty'
make: *** [all-libiberty] Error 2
Hum... I was not using the as I thought...
% type as
as is /tools/contrib/HP-UX/B.10.20/hppa1.1/bin/as
% 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'.
%
BTW: not attempting to use gas, I had built this in place. In the same
way and for hppa2.0, I just succeeded to build the 19990328 snapshot.
--
Marc Girod Hiomo 5/1 Voice: +358-9-511 23746
Nokia Telecommunications P.O. Box 320 Mobile: +358-40-569 7954
NWS/NMS/NMS for Data 00045 NOKIA Group Fax: +358-9-511 23580
Finland marc.girod@ntc.nokia.com