This is the mail archive of the 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]

Build failed in separate directory

On HP C110 hpux 9.05, I created a subdirectory in the egcs-1.0.1 directory
named build/hpux-9.05 and ran ../../configure --with-gnu-as from there.  Then
I executed make LANGUAGES="c c++ f77 gcov proto" bootstrap.  During the build,
I got the following error output:

gcc -c  -DIN_GCC    -g  -DHAVE_CONFIG_H -DHAIFA    -I. -I/usr/local/pkg/egcs/egcs-1.0.2/gcc -I/usr/local/pkg/egcs/egcs-1.0.2/gcc/config /usr/local/pkg/egcs/egcs-1.0.2/gcc/cp/g++spec.c
gcc  -DIN_GCC    -g  -DHAVE_CONFIG_H -DHAIFA  -o g++ g++.o g++spec.o version.o \
  choose-temp.o pexecute.o  obstack.o alloca.o  
gcc  -DIN_GCC    -g  -DHAVE_CONFIG_H -DHAIFA    -I. -I/usr/local/pkg/egcs/egcs-1.0.2/gcc -I/usr/local/pkg/egcs/egcs-1.0.2/gcc/config \
-DSTANDARD_STARTFILE_PREFIX=\"/usr/local/pkg/egcs/hpux/lib/\" -DSTANDARD_EXEC_PREFIX=\"/usr/local/pkg/egcs/hpux/lib/gcc-lib/\" -DDEFAULT_TARGET_VERSION=\"egcs-2.90.27\" -DDEFAULT_TARGET_MACHINE=\"hppa1.1-hp-hpux9.05\" -DTOOLDIR_BASE_PREFIX=\"/usr/local/pkg/egcs/hpux/\" \
gcc: g77.c: No such file or directory
gcc: No input files
make[2]: *** [g77.o] Error 1
make[2]: Leaving directory `/tmp_mnt/usr/local/pkg/egcs/egcs-1.0.2/build/hpux-9.05/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/tmp_mnt/usr/local/pkg/egcs/egcs-1.0.2/build/hpux-9.05/gcc'
make: *** [bootstrap] Error 2

By manually making the link from gcc.c in the source dir to g77.c in the build
dir, I could continue the compile.

Jerry Quinn				Tel: (514) 761-8737			Fax: (514) 761-8505
Speech Recognition Research

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