PATCH: Fortran frontend killed bootstrap (again)
Gerald Pfeifer
pfeifer@dbai.tuwien.ac.at
Tue Jul 14 12:51:00 GMT 1998
[ Cc: Dave (who doesn't get egcs-patches) and Craig (where I don't know
whether he gets egcs-patches. -- I hope this Cc:s are fine for you to
keep you informed? ]
Currently /libf2c/Makefile incorrectly assumes that `make` is GNU make
resp. that on uses `make` to bootstrap egcs.
On our system, however, `make` is Sun's and GNU make is `gmake`, so I get:
---- bootstrap failure ----
gmake[3]: Leaving directory `/sw/swtest1/pfeifer/OBJ-1407-17:51/sparc-sun-solaris2.5.1/libf2c/libU77'
make CC='/sw/swtest1/pfeifer/OBJ-1407-17:51/gcc/xgcc -B/sw/swtest1/pfeifer/OBJ-1407-17:51/gcc/' CFLAGS='-g -O2' CPPFLAGS='' AR='ar' RANLIB='true' libg2c.a
Usage : make [ -f makefile ]... [ -d ][ -dd ][ -D ][ -DD ][ -e ][ -i ][ -k ]
[ -K statefile ][ -n ][ -p ][ -P ][ -q ][ -r ][ -s ][ -S ][ -t ]
[ -V ][ target ... ][ macro=value... ]
make: Fatal error: Unknown option `-w'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/sw/swtest1/pfeifer/OBJ-1407-17:51/sparc-sun-solaris2.5.1/libf2c'
gmake[1]: *** [all-target-libf2c] Error 2
gmake[1]: Leaving directory `/sw/swtest1/pfeifer/OBJ-1407-17:51'
gmake: *** [bootstrap] Error 2
---- bootstrap failure ----
My following patch fixes this problem.
Jeff, this certainly should go to the egcs-1.1 branch as well!
Gerald
Tue Jul 14 21:35:30 1998 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* Makefile.in (all): Invoke $(MAKE) instead of just make.
Index: Makefile.in
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/libf2c/Makefile.in,v
retrieving revision 1.14
diff -c -3 -p -r1.14 Makefile.in
*** Makefile.in 1998/07/12 04:59:41 1.14
--- Makefile.in 1998/07/14 19:34:30
*************** F2CEXT = abort derf derfc ef1asc ef1cmc
*** 78,84 ****
# files which the $(LIBG2C) target checks in the sub-make. (Probably
# only one stamp file is really needed.)
all: i77 f77 u77 e77
! make $(FLAGS_TO_PASS) $(LIBG2C)
i77 f77 u77: g2c.h
--- 78,84 ----
# files which the $(LIBG2C) target checks in the sub-make. (Probably
# only one stamp file is really needed.)
all: i77 f77 u77 e77
! $(MAKE) $(FLAGS_TO_PASS) $(LIBG2C)
i77 f77 u77: g2c.h
More information about the Gcc-patches
mailing list