I'm trying to build gcc (gcc-4.3.0 experimental downloaded by subversion) in a powerpc-apple-darwin8.11.0 but i can't. I do this: ../../src/gcc/configure --prefix=`pwd` --enable-languages=c --with-gmp=/Users/pardeiro/bin /gmp-obj/ --with-mpfr=/Users/pardeiro/bin/mpfr-obj/ config.log has: configure:1503: checking build system type configure:1521: result: powerpc-apple-darwin8.11.0 configure:1556: checking host system type configure:1570: result: powerpc-apple-darwin8 configure:1578: checking target system type configure:1592: result: powerpc-apple-darwin8.11.0 configure:1635: checking for a BSD-compatible install configure:1690: result: /usr/bin/install -c configure:1701: checking whether ln works configure:1723: result: yes configure:1727: checking whether ln -s works configure:1731: result: yes configure:2844: checking for powerpc-apple-darwin8-gcc configure:2873: result: no configure:2882: checking for gcc configure:2898: found /usr/bin/gcc configure:2908: result: gcc configure:3152: checking for C compiler version configure:3155: gcc --version </dev/null >&5 powerpc-apple-darwin8-gcc-4.0.0 (GCC) 4.0.0 20041026 (Apple Computer, Inc. build 4061) Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3158: $? = 0 configure:3160: gcc -v </dev/null >&5 Reading specs from /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/specs Configured with: /private/var/tmp/gcc/gcc-4061.obj~8/src/configure --disable-checking --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^+.-]*$/s/$/- 4.0/ --with-gxx-include-dir=/include/gcc/darwin/4.0/c++ --build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --target=powerpc-apple-darwin8 Thread model: posix gcc version 4.0.0 20041026 (Apple Computer, Inc. build 4061) configure:3163: $? = 0 configure:3165: gcc -V </dev/null >&5 gcc: argument to `-V' is missing configure:3168: $? = 1 configure:3191: checking for C compiler default output file name configure:3194: gcc conftest.c >&5 configure:3197: $? = 0 configure:3243: result: a.out configure:3248: checking whether the C compiler works configure:3274: result: yes configure:3281: checking whether we are cross compiling configure:3283: result: yes configure:3286: checking for suffix of executables configure:3288: gcc -o conftest conftest.c >&5 configure:3291: $? = 0 configure:3316: result: configure:3322: checking for suffix of object files configure:3343: gcc -c conftest.c >&5 configure:3346: $? = 0 configure:3368: result: o configure:3372: checking whether we are using the GNU C compiler configure:3396: gcc -c conftest.c >&5 configure:3402: $? = 0 configure:3406: test -z || test ! -s conftest.err configure:3409: $? = 0 configure:3412: test -s conftest.o configure:3415: $? = 0 configure:3428: result: yes configure:3434: checking whether gcc accepts -g configure:3455: gcc -c -g conftest.c >&5 configure:3461: $? = 0 configure:3465: test -z || test ! -s conftest.err configure:3468: $? = 0 configure:3471: test -s conftest.o configure:3474: $? = 0 configure:3485: result: yes configure:3502: checking for gcc option to accept ANSI C configure:3572: gcc -c -g -O2 conftest.c >&5 configure:3578: $? = 0 configure:3582: test -z || test ! -s conftest.err configure:3585: $? = 0 configure:3588: test -s conftest.o configure:3591: $? = 0 configure:3609: result: none needed configure:3627: gcc -c -g -O2 conftest.c >&5 conftest.c:2: error: parse error before "me" configure:3633: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif configure:3776: checking for powerpc-apple-darwin8-g++ configure:3805: result: no configure:3776: checking for powerpc-apple-darwin8-c++ configure:3805: result: no configure:3776: checking for powerpc-apple-darwin8-gpp configure:3805: result: no configure:3776: checking for powerpc-apple-darwin8-aCC configure:3805: result: no configure:3776: checking for powerpc-apple-darwin8-CC configure:3805: result: no configure:3776: checking for powerpc-apple-darwin8-cxx configure:3805: result: no configure:3776: checking for powerpc-apple-darwin8-cc++ configure:3805: result: no configure:3776: checking for powerpc-apple-darwin8-cl configure:3805: result: no configure:3776: checking for powerpc-apple-darwin8-FCC configure:3805: result: no configure:3776: checking for powerpc-apple-darwin8-KCC configure:3805: result: no configure:3776: checking for powerpc-apple-darwin8-RCC configure:3805: result: no configure:3776: checking for powerpc-apple-darwin8-xlC_r configure:3805: result: no configure:3776: checking for powerpc-apple-darwin8-xlC configure:3805: result: no configure:3818: checking for g++ configure:3834: found /usr/bin/g++ configure:3844: result: g++ configure:3860: checking for C++ compiler version configure:3863: g++ --version </dev/null >&5 powerpc-apple-darwin8-g++-4.0.0 (GCC) 4.0.0 20041026 (Apple Computer, Inc. build 4061) Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3866: $? = 0 configure:3868: g++ -v </dev/null >&5 Reading specs from /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/specs Configured with: /private/var/tmp/gcc/gcc-4061.obj~8/src/configure --disable-checking --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^+.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/gcc/darwin/4.0/c++ --build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --target=powerpc-apple-darwin8 Thread model: posix gcc version 4.0.0 20041026 (Apple Computer, Inc. build 4061) configure:3871: $? = 0 configure:3873: g++ -V </dev/null >&5 g++: argument to `-V' is missing configure:3876: $? = 1 configure:3879: checking whether we are using the GNU C++ compiler configure:3903: g++ -c conftest.cc >&5 configure:3909: $? = 0 configure:3913: test -z || test ! -s conftest.err configure:3916: $? = 0 configure:3919: test -s conftest.o configure:3922: $? = 0 configure:3935: result: yes configure:3941: checking whether g++ accepts -g configure:3962: g++ -c -g conftest.cc >&5 configure:3968: $? = 0 configure:3972: test -z || test ! -s conftest.err configure:3975: $? = 0 configure:3978: test -s conftest.o configure:3981: $? = 0 configure:3992: result: yes configure:4034: g++ -c -g -O2 conftest.cc >&5 configure:4040: $? = 0 configure:4044: test -z || test ! -s conftest.err configure:4047: $? = 0 configure:4050: test -s conftest.o configure:4053: $? = 0 configure:4079: g++ -c -g -O2 conftest.cc >&5 conftest.cc: In function `int main()': conftest.cc:13: error: 'exit' was not declared in this scope configure:4085: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | | int | main () | { | exit (42); | ; | return 0; | } configure:4034: g++ -c -g -O2 conftest.cc >&5 /usr/include/stdlib.h:158: error: 'void exit(int)' conflicts with previous using declaration 'void std::exit(int)' /usr/include/stdlib.h:158: error: 'void exit(int)' conflicts with used function conftest.cc:9: error: 'void std::exit(int)' previously declared here configure:4040: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | extern "C" void std::exit (int) throw (); using std::exit; | #include <stdlib.h> | int | main () | { | exit (42); | ; | return 0; | } configure:4034: g++ -c -g -O2 conftest.cc >&5 /usr/include/stdlib.h:158: error: 'void exit(int)' conflicts with previous using declaration 'void std::exit(int)' /usr/include/stdlib.h:158: error: 'void exit(int)' conflicts with used function conftest.cc:9: error: 'void std::exit(int)' previously declared here configure:4040: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | extern "C" void std::exit (int); using std::exit; | #include <stdlib.h> | int | main () | { | exit (42); | ; | return 0; | } configure:4034: g++ -c -g -O2 conftest.cc >&5 /usr/include/stdlib.h:158: error: declaration of 'void exit(int)' throws different exceptions conftest.cc:9: error: than previous declaration 'void exit(int) throw ()' configure:4040: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | extern "C" void exit (int) throw (); | #include < stdlib.h> | int | main () | { | exit (42); | ; | return 0; | } configure:4034: g++ -c -g -O2 conftest.cc >&5 configure:4040: $? = 0 configure:4044: test -z || test ! -s conftest.err configure:4047: $? = 0 configure:4050: test -s conftest.o configure:4053: $? = 0 configure:4079: g++ -c -g -O2 conftest.cc >&5 configure:4085: $? = 0 configure:4089: test -z || test ! -s conftest.err configure:4092: $? = 0 configure:4095: test -s conftest.o configure:4098: $? = 0 configure:4147: checking for powerpc-apple-darwin8-gnatbind configure:4176: result: no configure:4185: checking for gnatbind configure:4212: result: no configure:4227: checking for powerpc-apple-darwin8-gnatmake configure:4256: result: no configure:4265: checking for gnatmake configure:4292: result: no configure:4304: checking whether compiler driver understands Ada configure:4327: result: no configure:4336: checking how to compare bootstrapped objects configure:4361: result: cmp --ignore-initial=16 $$f1 $$f2 configure:4481: checking for correct version of gmp.h configure:4504: gcc -c -g -O2 -I/Users/pardeiro/bin/gmp-obj//include -I/Users/pardeiro/bin/mpfr-obj//include conftest.c >&5 configure:4510: $? = 0 configure:4514: test -z || test ! -s conftest.err configure:4517: $? = 0 configure:4520: test -s conftest.o configure:4523: $? = 0 configure:4525: result: yes configure:4539: checking for correct version of mpfr.h configure:4570: gcc -o conftest -g -O2 -I/Users/pardeiro/bin/gmp-obj//include -I/Users/pardeiro/bin/mpfr-obj//include conftest.c -L/Users/pardeiro/bin/gmp-obj//lib -L/Users/pardeiro/bin/mpfr-obj//lib -lmpfr -lgmp >&5 configure:4576: $? = 0 configure:4580: test -z || test ! -s conftest.err configure:4583: $? = 0 configure:4586: test -s conftest configure:4589: $? = 0 configure:4613: gcc -o conftest -g -O2 -I/Users/pardeiro/bin/gmp-obj//include -I/Users/pardeiro/bin/mpfr-obj//include conftest.c -L/Users/pardeiro/bin/gmp-obj//lib -L/Users/pardeiro/bin/mpfr-obj//lib -lmpfr -lgmp >&5 configure:4619: $? = 0 configure:4623: test -z || test ! -s conftest.err configure:4626: $? = 0 configure:4629: test -s conftest configure:4632: $? = 0 configure:4634: result: yes configure:5967: checking for bison configure:5983: found /usr/bin/bison configure:5993: result: bison -y configure:6013: checking for bison configure:6029: found /usr/bin/bison configure:6039: result: bison configure:6058: checking for gm4 configure:6074: found /usr/bin/gm4 configure:6084: result: gm4 configure:6103: checking for flex configure:6119: found /usr/bin/flex configure:6129: result: flex configure:6149: checking for flex configure:6165: found /usr/bin/flex configure:6175: result: flex configure:6194: checking for makeinfo configure:6210: found /usr/bin/makeinfo configure:6220: result: makeinfo configure:6253: checking for expect configure:6269: found /usr/bin/expect configure:6279: result: expect configure:6300: checking for runtest configure:6329: result: no configure:6402: checking for powerpc-apple-darwin8-ar configure:6431: result: no configure:6537: checking for powerpc-apple-darwin8-as configure:6566: result: no configure:6672: checking for powerpc-apple-darwin8-dlltool configure:6701: result: no configure:6807: checking for powerpc-apple-darwin8-ld configure:6836: result: no configure:6942: checking for powerpc-apple-darwin8-lipo configure:6971: result: no configure:7077: checking for powerpc-apple-darwin8-nm configure:7106: result: no configure:7212: checking for powerpc-apple-darwin8-ranlib configure:7241: result: no configure:7342: checking for powerpc-apple-darwin8-strip configure:7371: result: no configure:7472: checking for powerpc-apple-darwin8-windres configure:7501: result: no configure:7607: checking for powerpc-apple-darwin8-windmc configure:7636: result: no configure:7742: checking for powerpc-apple-darwin8-objcopy configure:7771: result: no configure:7877: checking for powerpc-apple-darwin8-objdump configure:7906: result: no configure:8051: checking for powerpc-apple-darwin8.11.0-cc configure:8080: result: no configure:8088: checking for cc configure:8104: found /usr/bin/cc configure:8114: result: cc configure:8206: checking for powerpc-apple-darwin8.11.0-c++ configure:8235: result: no configure:8243: checking for c++ configure:8259: found /usr/bin/c++ configure:8269: result: c++ configure:8361: checking for powerpc-apple-darwin8.11.0-gcc configure:8390: result: no configure:8398: checking for gcc configure:8414: found /usr/bin/gcc configure:8424: result: gcc configure:8511: checking for powerpc-apple-darwin8.11.0-gcj configure:8540: result: no configure:8548: checking for gcj configure:8577: result: no configure:8666: checking for powerpc-apple-darwin8.11.0-gfortran configure:8695: result: no configure:8703: checking for gfortran configure:8732: result: no configure:8900: checking for powerpc-apple-darwin8.11.0-ar configure:8929: result: no configure:8937: checking for ar configure:8953: found /usr/bin/ar configure:8963: result: ar configure:9123: checking for powerpc-apple-darwin8.11.0-as configure:9152: result: no configure:9160: checking for as configure:9176: found /usr/bin/as configure:9186: result: as configure:9346: checking for powerpc-apple-darwin8.11.0-dlltool configure:9375: result: no configure:9383: checking for dlltool configure:9412: result: no configure:9569: checking for powerpc-apple-darwin8.11.0-ld configure:9598: result: no configure:9606: checking for ld configure:9622: found /usr/bin/ld configure:9632: result: ld configure:9792: checking for powerpc-apple-darwin8.11.0-lipo configure:9821: result: no configure:9829: checking for lipo configure:9845: found /usr/bin/lipo configure:9855: result: lipo configure:10015: checking for powerpc-apple-darwin8.11.0-nm configure:10044: result: no configure:10052: checking for nm configure:10068: found /usr/bin/nm configure:10078: result: nm configure:10238: checking for powerpc-apple-darwin8.11.0-objdump configure:10267: result: no configure:10275: checking for objdump configure:10304: result: no configure:10461: checking for powerpc-apple-darwin8.11.0-ranlib configure:10490: result: no configure:10498: checking for ranlib configure:10514: found /usr/bin/ranlib configure:10524: result: ranlib configure:10684: checking for powerpc-apple-darwin8.11.0-strip configure:10713: result: no configure:10721: checking for strip configure:10737: found /usr/bin/strip configure:10747: result: strip configure:10907: checking for powerpc-apple-darwin8.11.0-windres configure:10936: result: no configure:10944: checking for windres configure:10973: result: no configure:11130: checking for powerpc-apple-darwin8.11.0-windmc configure:11159: result: no configure:11167: checking for windmc configure:11196: result: no configure:11223: checking where to find the target ar configure:11233: result: pre-installed configure:11265: checking where to find the target as configure:11275: result: pre-installed configure:11307: checking where to find the target cc configure:11317: result: pre-installed configure:11349: checking where to find the target c++ configure:11359: result: pre-installed configure:11394: checking where to find the target c++ for libstdc++ configure:11404: result: pre-installed configure:11439: checking where to find the target dlltool configure:11449: result: pre-installed configure:11481: checking where to find the target gcc configure:11491: result: pre-installed configure:11523: checking where to find the target gcj configure:11533: result: pre-installed configure:11568: checking where to find the target gfortran configure:11578: result: pre-installed configure:11613: checking where to find the target ld configure:11623: result: pre-installed configure:11655: checking where to find the target lipo configure:11665: result: pre-installed configure:11686: checking where to find the target nm configure:11696: result: pre-installed configure:11728: checking where to find the target objdump configure:11738: result: pre-installed configure:11770: checking where to find the target ranlib configure:11780: result: pre-installed configure:11812: checking where to find the target strip configure:11822: result: pre-installed configure:11854: checking where to find the target windres configure:11864: result: pre-installed configure:11896: checking where to find the target windmc configure:11906: result: pre-installed configure:11966: checking whether to enable maintainer-specific portions of Makefiles configure:11975: result: no configure:12008: checking whether -fkeep-inline-functions is supported configure:12030: gcc -c -g -O2 -fkeep-inline-functions conftest.c >&5 configure:12036: $? = 0 configure:12040: test -z || test ! -s conftest.err configure:12043: $? = 0 configure:12046: test -s conftest.o configure:12049: $? = 0 configure:12051: result: yes configure:12268: creating ./config.status When I do make buildin fails: s.o darwin-tramp_s.o ppc64-fp_s.o darwin-64_s.o darwin-ldouble_s.o darwin-world_s.o unwind-dw2_s.o unwind-dw2-fde-darwin_s.o unwind-sjlj_s.o unwind-c_s.o darwin-fallback_s.o emutls_s.o -lc unknown option: -macosx_version_min ld64 failed: file not found: 10.4 collect2: ld returned 1 exit status make[5]: *** [libgcc_s.dylib] Error 1 make[4]: *** [multi-do] Error 1 make[3]: *** [all-multi] Error 2 make[2]: *** [all-stage1-target-libgcc] Error 2 make[1]: *** [stage1-bubble] Error 2 make: *** [all] Error 2 I've proved other options in configure as --with-system-zlib --x-includes=/usr/X11R6/include/ --x-libraries=/usr/X11R6/lib/ --disable-bootstraps --host= powerpc-apple-darwin8.11.0 --target=powerpc-apple-darwin8.11.0 --build=powerpc-apple-darwin8.11.0, but obtains the same result What can i do??