This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Please incorporate that for make cross


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]