This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more infromation.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hi Peter, Thanks for the pointer. I could solve that problem. It was picking one of my target include file causing this problem. Now the make operation ends with following message !!!!! cd ../libio ; make "SHELL=bash" "INSTALL=bash /cygdrive/e/gcc-2.95.2/install-sh -c" "INSTALL_DATA=bash /cygdrive/e/gcc-2.95.2/install-sh -c -m 644" "INSTALL_PROGRAM=bash /cygdrive/e/gcc-2.95.2/install -sh -c " "prefix=/usr/local" "exec_prefix=/usr/local" "tooldir=/usr/local/ppc-ibm-eabi" "gxx_include_dir=/usr/local/include/g++-3" "libsubdir=/usr/local/lib/gcc-lib/ppc-ibm-eabi/2.95.2" "gcc_version=2 .95.2" "gcc_version_trigger=/cygdrive/e/gcc-2.95.2/gcc/version.c" "AR=ppc-ibm-eabi-ar" "AR_FLAGS=rc" "CC=/cygdrive/e/build-gcc/gcc/xgcc -B/cygdrive/e/build-gcc/gcc/ -B/usr/local/ppc-ibm-eabi/bin/" "CX X=/cygdrive/e/build-gcc/gcc/xgcc -B/cygdrive/e/build-gcc/gcc/ -B/usr/local/ppc-ibm-eabi/bin/" "CFLAGS=-g -O2 -msoft-float -mstrict-align" "CXXFLAGS=-g -O2 -msoft-float -mstrict-align" "NM=ppc-ibm-ea bi-nm" "RANLIB=ppc-ibm-eabi-ranlib" "LIBCFLAGS=-g -O2 -msoft-float -mstrict-align" "LIBCXXFLAGS=-g -O2 -fno-implicit-templates -msoft-float -mstrict-align" "LOADLIBES=" "LDFLAGS=-msoft-float -mstric t-align" "MAKEINFO=/cygdrive/e/build-gcc/texinfo/makeinfo/makeinfo " "SHLIB=libstdc++.so.2.10.0" "SHCURSES=" "RUNTESTFLAGS=" iostream.list make[4]: `iostream.list' is up to date. cd tests; make all ... cd testsuite; make all ... cd tests; make all ... cd testsuite; make all ... Configuring in ppc-ibm-eabi/libf2c loading cache ./config.cache checking if compiler f771 has been built... yes checking for gcc... /cygdrive/e/build-gcc/gcc/xgcc -B/cygdrive/e/build-gcc/gcc/ -B/usr/local/ppc-ibm-eabi/bin/ checking whether the C compiler (/cygdrive/e/build-gcc/gcc/xgcc -B/cygdrive/e/build-gcc/gcc/ -B/usr/local/ppc-ibm-eabi/bin/ -g -O2 ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. Configuring in ppc-ibm-eabi/libchill loading cache ./config.cache checking if compiler cc1chill has been built... yes checking for gcc... /cygdrive/e/build-gcc/gcc/xgcc -B/cygdrive/e/build-gcc/gcc/ -B/usr/local/ppc-ibm-eabi/bin/ checking whether the C compiler (/cygdrive/e/build-gcc/gcc/xgcc -B/cygdrive/e/build-gcc/gcc/ -B/usr/local/ppc-ibm-eabi/bin/ -g -O2 ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. Configuring in ppc-ibm-eabi/libobjc loading cache ./config.cache checking if compiler cc1obj has been built... yes checking for gcc... /cygdrive/e/build-gcc/gcc/xgcc -B/cygdrive/e/build-gcc/gcc/ -B/usr/local/ppc-ibm-eabi/bin/ checking whether the C compiler (/cygdrive/e/build-gcc/gcc/xgcc -B/cygdrive/e/build-gcc/gcc/ -B/usr/local/ppc-ibm-eabi/bin/ -g -O2 ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. I checked config.log for the target directory there i see follwoing error message This config.log error is in /build-gcc/ppc-ibm-eabi/libchill & libobj,lib2fc directories. configure:562: checking if compiler cc1chill has been built configure:593: checking for gcc configure:706: checking whether the C compiler (/cygdrive/e/build-gcc/gcc/xgcc -B/cygdrive/e/build-gcc/gcc/ -B/usr/local/ppc-ibm-eabi/bin/ -g -O2 ) works configure:722: /cygdrive/e/build-gcc/gcc/xgcc -B/cygdrive/e/build-gcc/gcc/ -B/usr/local/ppc-ibm-eabi/bin/ -o conftest -g -O2 conftest.c 1>&5 /usr/local/ppc-ibm-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 01800074 /cygdrive/e/build-gcc/gcc/libgcc.a(eabi.o)(.got2+0x8): undefined reference to `__SDATA_START__' /cygdrive/e/build-gcc/gcc/libgcc.a(eabi.o)(.got2+0xc): undefined reference to `__SBSS_END__' /cygdrive/e/build-gcc/gcc/libgcc.a(eabi.o)(.got2+0x14): undefined reference to `__SDATA2_START__' /cygdrive/e/build-gcc/gcc/libgcc.a(eabi.o)(.got2+0x18): undefined reference to `__SBSS2_END__' collect2: ld returned 1 exit status configure: failed program was: #line 717 "configure" #include "confdefs.h" main(){return(0);} Am i missing some startup file here ? I copied some target crt.o file to /usr/target/include directory. Thanks Sudhanshu Peter Barada <pbarada@wavemark.com> on 04/25/2000 08:36:12 AM Sent by: Peter Barada <pbarada@wavemark.com> To: Sudhanshu Tewari/US/3Com cc: crossgcc@sourceware.cygnus.com Subject: Re: cross gcc for pc windos x86 as host and powerpc as target >Make command fails after long time while compiling fnmatch.c in >/gcc-2.95.2/libiberty/ directory. >The error generated is. >../../../gcc-2.95.2/libiberty/fnmatch.c:63 parse error before 'int' >make[1]: *** [fnmatch.o] Error 1 >make: *** [all-target-libiberty] Error 2 > >Here if i goto line 63 of fnmatch.c its a "extern int errno; " statement. >How could there be parse error for extern ??? errno is not a variable, but a pointer to a function. This is to allow sperate threads having their own copy of errno. Perhaps you could extract the command line used to compile fnmatch.c and use the -E option instead of the -c option to get the output from the preprocessor. Then you can see how errno is being (incorrectly) substituted. -- Peter Barada pbarada@wavemark.com Wizard WaveMark Technologies, Inc. ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |