make bootstrap fails if configured outside of srctree

Klaus-Georg Adams Klaus-Georg.Adams@chemie.uni-karlsruhe.de
Tue Dec 2 08:08:00 GMT 1997


Hi,
make bootstrap fails with 
gcc  -DIN_GCC   -DUSE_GNULIBC_1 -g  -DHAVE_CONFIG_H -DHAIFA    -I. -I../../egcs-971201/gcc -I../../egcs-971201/gcc/config \
-DSTANDARD_STARTFILE_PREFIX=\"/egcs/egcs/lib/\" -DSTANDARD_EXEC_PREFIX=\"/egcs/egcs/lib/gcc-lib/\" -DDEFAULT_TARGET_VERSION=\"egcs-2.90.20\" -DDEFAULT_TARGET_MACHINE=\"i686-pc-linux-gnulibc1\" -DTOOLDIR_BASE_PREFIX=\"/egcs/egcs/\" \
-DLANG_SPECIFIC_DRIVER -c g77.c
gcc: g77.c: No such file or directory
gcc: No input files
make[2]: *** [g77.o] Error 1

This only happens when I configure in a directory outside the
sourcetree:
../egcs-971201/configure --enable-share --enable-haifa --prefix=/egcs/egcs --srcdir=../egcs-971201

When configuring in egcs-971201 everything works.
Let me know if you need more info (config.guess says
i686-pc-linux-gnulibc1). 

-- kga
-------------------------------------------------------------------------
Klaus-Georg Adams        Email: Klaus-Georg.Adams@chemie.uni-karlsruhe.de
Institut f. Anorg. Chemie II                           Tel: 0721 608 3485
Uni Karlsruhe
-------------------------------------------------------------------------



More information about the Gcc-bugs mailing list