This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
I'm trying to build a cross compiler to make executables for a powerpc system. I have a set of the libraries for the machine and have built cross binutils. When I type 'make cross' the build eventually stops with messages like those at the end of this message. I am using egcs-1.1b, binutils-2.9.1.0.16. I'm building the compiler in a separate directory called 'sources' in the egcs-1.1b directory. There is no 'gcc' in the gcc subdirectory off the sources subdirectory. hecking host system type... powerpc-unknown-linux-gnu checking build system type... m68k-unknown-linux-gnu checking for powerpc-unknown-linux-gnu-ar... powerpc-unknown-linux-gnu-ar checking for powerpc-unknown-linux-gnu-ranlib... powerpc-unknown-linux-gnu-ranlib checking for gcc... /drives/apus_scsi/usr/src/egcs-1.1b/sources/gcc/xgcc -B/drives/apus_scsi/usr/src/egcs-1.1b/sources/gcc/ checking whether we are using GNU C... yes checking whether /drives/apus_scsi/usr/src/egcs-1.1b/sources/gcc/xgcc -B/drives/apus_scsi/usr/src/egcs-1.1b/sources/gcc/ accepts -g... yes checking for POSIXized ISC... no checking for a BSD compatible install... /usr/local/bin/install -c xhost-mkfrag is unchanged checking how to run the C preprocessor... /drives/apus_scsi/usr/src/egcs-1.1b/sources/gcc/xgcc -B/drives/apus_scsi/usr/src/egcs-1.1b/sources/gcc/ -E checking for sys/file.h... yes checking for sys/param.h... yes checking for stdlib.h... yes checking for string.h... yes checking for unistd.h... yes checking whether the C compiler (/drives/apus_scsi/usr/src/egcs-1.1b/sources/gcc/xgcc -B/drives/apus_scsi/usr/src/egcs-1.1b/sources/gcc/ -g -O2 ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. make: *** [configure-target-libiberty] Error 1 @amiga1:/drives/apus_scsi/usr/src/egcs-1.1b/sources # Here is the config.log file: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:768: checking host system type configure:789: checking target system type configure:807: checking build system type configure:834: checking for gcc configure:911: checking whether the C compiler (gcc -g -O2 ) works configure:925: gcc -o conftest -g -O2 conftest.c 1>&5 configure:945: checking whether the C compiler (gcc -g -O2 ) is a cross-compiler configure:950: checking whether we are using GNU C configure:974: checking whether gcc accepts -g configure:1002: checking whether make sets ${MAKE} configure:1035: checking for mawk configure:1035: checking for gawk configure:1066: checking for flex configure:1099: checking for yywrap in -lfl configure:1118: gcc -o conftest -g -O2 conftest.c -lfl 1>&5 configure:1141: checking whether ln works configure:1173: checking whether ln -s works configure:1205: checking for volatile configure:1217: gcc -c -g -O2 conftest.c 1>&5 configure:1240: checking for ranlib configure:1271: checking for bison configure:1311: checking for a BSD compatible install configure:1362: checking how to run the C preprocessor configure:1423: checking for ANSI C header files configure:1527: checking whether time.h and sys/time.h may both be included configure:1541: gcc -c -g -O2 conftest.c 1>&5 configure:1565: checking for limits.h configure:1565: checking for stddef.h configure:1575: gcc -E conftest.c >/dev/null 2>conftest.out configure:1565: checking for string.h configure:1565: checking for strings.h configure:1565: checking for stdlib.h configure:1565: checking for time.h configure:1575: gcc -E conftest.c >/dev/null 2>conftest.out configure:1565: checking for fcntl.h configure:1565: checking for unistd.h configure:1565: checking for stab.h configure:1575: gcc -E conftest.c >/dev/null 2>conftest.out configure:1565: checking for sys/file.h configure:1565: checking for sys/time.h configure:1565: checking for sys/resource.h configure:1575: gcc -E conftest.c >/dev/null 2>conftest.out configure:1565: checking for sys/param.h configure:1565: checking for sys/times.h configure:1575: gcc -E conftest.c >/dev/null 2>conftest.out configure:1565: checking for wait.h configure:1575: gcc -E conftest.c >/dev/null 2>conftest.out configure:1565: checking for sys/wait.h configure:1605: checking for thread.h configure:1615: gcc -E conftest.c >/dev/null 2>conftest.out configure:1611: thread.h: No such file or directory configure: failed program was: #line 1610 "configure" #include "confdefs.h" #include <thread.h> configure:1639: checking for pthread.h configure:1649: gcc -E conftest.c >/dev/null 2>conftest.out configure:1675: checking whether cpp understands the stringify operator configure:1688: gcc -c -g -O2 conftest.c 1>&5 configure:1711: checking for inttypes.h configure:1724: gcc -c -g -O2 conftest.c 1>&5 configure:1718: inttypes.h: No such file or directory configure: failed program was: #line 1716 "configure" #include "confdefs.h" #include <sys/types.h> #include <inttypes.h> int main() { intmax_t i = -1; ; return 0; } configure:1747: checking for strtoul configure:1747: checking for bsearch configure:1775: gcc -o conftest -g -O2 conftest.c 1>&5 configure:1747: checking for strerror configure:1747: checking for putenv configure:1747: checking for popen configure:1775: gcc -o conftest -g -O2 conftest.c 1>&5 configure:1747: checking for bcopy configure:1747: checking for bzero configure:1747: checking for bcmp configure:1747: checking for index configure:1747: checking for rindex configure:1747: checking for strchr configure:1747: checking for strrchr configure:1747: checking for kill configure:1775: gcc -o conftest -g -O2 conftest.c 1>&5 configure:1747: checking for getrlimit configure:1775: gcc -o conftest -g -O2 conftest.c 1>&5 configure:1747: checking for setrlimit configure:1775: gcc -o conftest -g -O2 conftest.c 1>&5 configure:1747: checking for atoll configure:1775: gcc -o conftest -g -O2 conftest.c 1>&5 configure:1747: checking for atoq configure:1775: gcc -o conftest -g -O2 conftest.c 1>&5 /tmp/cca146941.o: In function `main': /drives/apus_scsi/usr/src/egcs-1.1b/sources/gcc/configure:1769: undefined reference to `atoq' collect2: ld returned 1 exit status configure: failed program was: #line 1752 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char atoq(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char atoq(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_atoq) || defined (__stub___atoq) choke me #else atoq(); #endif ; return 0; } configure:1747: checking for sysconf configure:1747: checking for isascii configure:1775: gcc -o conftest -g -O2 conftest.c 1>&5 configure:1747: checking for gettimeofday configure:1775: gcc -o conftest -g -O2 conftest.c 1>&5 configure:1801: checking for vprintf configure:1917: checking whether the printf functions support %p configure:1938: gcc -o conftest -g -O2 conftest.c 1>&5 configure:1966: checking whether malloc must be declared configure:1999: gcc -c -g -O2 conftest.c 1>&5 configure:1966: checking whether realloc must be declared configure:1999: gcc -c -g -O2 conftest.c 1>&5 configure:1966: checking whether calloc must be declared configure:1999: gcc -c -g -O2 conftest.c 1>&5 configure:1966: checking whether free must be declared configure:1999: gcc -c -g -O2 conftest.c 1>&5 configure:1966: checking whether bcopy must be declared configure:1999: gcc -c -g -O2 conftest.c 1>&5 configure:1966: checking whether bzero must be declared configure:1999: gcc -c -g -O2 conftest.c 1>&5 configure:1966: checking whether bcmp must be declared configure:1999: gcc -c -g -O2 conftest.c 1>&5 configure:1966: checking whether index must be declared configure:1999: gcc -c -g -O2 conftest.c 1>&5 configure:1966: checking whether rindex must be declared configure:1999: gcc -c -g -O2 conftest.c 1>&5 configure:1966: checking whether getenv must be declared configure:1999: gcc -c -g -O2 conftest.c 1>&5 configure:1966: checking whether atol must be declared configure:1999: gcc -c -g -O2 conftest.c 1>&5 configure:1966: checking whether sbrk must be declared configure:1999: gcc -c -g -O2 conftest.c 1>&5 configure:1966: checking whether abort must be declared configure:1999: gcc -c -g -O2 conftest.c 1>&5 configure:1966: checking whether atof must be declared configure:1999: gcc -c -g -O2 conftest.c 1>&5 configure:1966: checking whether strerror must be declared configure:1999: gcc -c -g -O2 conftest.c 1>&5 configure:1966: checking whether getcwd must be declared configure:1999: gcc -c -g -O2 conftest.c 1>&5 configure:1966: checking whether getwd must be declared configure:1999: gcc -c -g -O2 conftest.c 1>&5 configure:2028: checking whether getrlimit must be declared configure:2065: gcc -c -g -O2 conftest.c 1>&5 configure:2028: checking whether setrlimit must be declared configure:2065: gcc -c -g -O2 conftest.c 1>&5 configure:2092: checking for sys_siglist declaration in signal.h or unistd.h configure:2109: gcc -c -g -O2 conftest.c 1>&5 configure: In function `main': configure:2105: warning: initialization discards `const' from pointer target type configure:5253: checking assembler alignment features _______________________________________________ New CrossGCC FAQ: http://www.objsw.com/CrossGCC _______________________________________________ To remove yourself from the crossgcc list, send mail to crossgcc-request@cygnus.com with the text 'unsubscribe' (without the quotes) in the body of the message.