This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Please incorporate that for make cross
- To: egcs-patches at cygnus dot com
- Subject: Please incorporate that for make cross
- From: Martin Kahlert <martin dot kahlert at mchp dot siemens dot de>
- Date: Fri, 26 Jun 1998 10:23:27 +0200
Hi, egcs gurus!
I am running linux-2.0.34 on Pentium Pro.
1.Doing this:
../egcs-19980621/configure --target=i686-pc-mingw32
mkdir libraries
ln -s `pwd`/i686-pc-mingw32/libf2c libraries/libf2c
make cross
instead of:
../egcs-19980621/configure --target=i686-pc-mingw32
make cross
avoids the following error message about not finding g2c.h:
make[2]: Entering directory `/sw/local_l/kahlert/obj/i686-pc-mingw32/libf2c'
rm -f stamp-libf77
cd libF77; make "CC=/sw/local_l/kahlert/obj/gcc/xgcc -B/sw/local_l/kahlert/obj/gcc/" "CFLAGS=-g -O2" "F2C_H_DIR=/sw/local_l/kahlert/egcs-19980621/libf2c" "G2C_H_DIR=/sw/local_l/kahlert/obj/libraries/libf2c" "GCC_H_DIR=/sw/local_l/kahlert/egcs-19980621/include" "LIBCFLAGS=-g -O2" "PICFLAG=" "RUNTESTFLAGS=" all
make[3]: Entering directory `/sw/local_l/kahlert/obj/i686-pc-mingw32/libf2c/libF77'
make[3]: *** No rule to make target `/sw/local_l/kahlert/obj/libraries/libf2c/g2c.h', needed by `F77_aloc.o'. Stop.
2.For installation of the cross g77, i had to do the following:
cd gcc
make g77
cp g77 /usr/local/bin/i686-pc-mingw32-g77
chmod 755 /usr/local/bin/i686-pc-mingw32-g77
I really wanted to incorporate these commands into the
configure/Makefile.in files, but they confuse me a bit...
Please could anybody with more knowledge than me put them in?
Thanks,
Martin.