Problem Building on OS X 10.4.3 (Tiger).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am attempting to build gcc from the Subversion sources on OS X 10.4.3 (Tiger). All I have done is to check it out with subversion, configure it, and type "make".

My configure line looks like:

../gcc/configure --prefix=$HOME/proj/coro/gcc/install --program- prefix=proj- --enable-languages=c,c++,java,objc,obj-c++ --disable-static

This proceeds fine. I then attempt either a "make" or "make bootstrap": both die at the same place, which seems to have something to do with building libstdc++.

Here is the actual error I get. It comes at the end of a long string of configure output (shown below):

...
checking whether make sets $(MAKE)... yes
checking for powerpc-apple-darwin8.3.0-gcc... /Users/niko/proj/coro/ gcc/objs/ cc/xgcc -B/Users/niko/proj/coro/gcc/objs/./gcc/ -B/Users/niko/proj/ coro/gcc/i all/powerpc-apple-darwin8.3.0/bin/ -B/Users/niko/proj/coro/gcc/ install/powerp pple-darwin8.3.0/lib/ -isystem /Users/niko/proj/coro/gcc/install/ powerpc-appl arwin8.3.0/include -isystem /Users/niko/proj/coro/gcc/install/ powerpc-apple-d
in8.3.0/sys-include  -m64
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compi
programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make[1]: *** [configure-target-libstdc++-v3] Error 1
make: *** [all] Error 2

Any ideas?

One thing which might be worth nothing is that I have no powerpc- apple-darwin8.3.0-gcc installed. I do, however, have a powerpc-apple- darwin8-gcc-4.0.0.

Thanks a lot for any help!


Niko


------------------------------------------------------------------

Here is the full context (as much as I could get from my xterm):

checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/filio.h usability... yes
checking sys/filio.h presence... yes
checking for sys/filio.h... yes
checking for poll... yes
checking for S_ISREG or S_IFREG... S_ISREG
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking for writev... yes
checking for int64_t... yes
checking for LFS support... no
checking whether the target supports thread-local storage... no
checking for locale.h... (cached) yes
checking for LC_MESSAGES... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for size_t as unsigned int... no
checking for ptrdiff_t as int... yes
configure: versioning on shared library symbols is darwin-export
checking for unistd.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for RLIMIT_DATA... yes
checking for RLIMIT_RSS... yes
checking for RLIMIT_VMEM... no
checking for RLIMIT_AS... yes
checking for RLIMIT_FSIZE... yes
checking for testsuite resource limits support... yes
checking for setenv declaration... yes
checking for setenv... yes
updating cache ./config.cache
checking for gxx-include-dir... no
checking for --enable-version-specific-runtime-libs... no
checking for install location... ${prefix}/include/c++/${gcc_version}
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating libmath/Makefile
config.status: creating libsupc++/Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile
config.status: creating testsuite/Makefile
config.status: creating scripts/testsuite_flags
config.status: creating config.h
config.status: executing default-1 commands
Adding multilib support to Makefile in ../../../gcc/libstdc++-v3
multidirs=ppc64
with_multisubdir=
Running configure in multilib subdirs ppc64
pwd: /Users/niko/proj/coro/gcc/objs/powerpc-apple-darwin8.3.0/libstdc+ +-v3
Running configure in multilib subdir ppc64
pwd: /Users/niko/proj/coro/gcc/objs/powerpc-apple-darwin8.3.0
mkdir ppc64
configure: creating cache ./config.cache
checking build system type... powerpc-apple-darwin8.3.0
checking host system type... powerpc-apple-darwin8.3.0
checking target system type... powerpc-apple-darwin8.3.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for locale.h... (cached) yes
checking for LC_MESSAGES... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for size_t as unsigned int... no
checking for ptrdiff_t as int... yes
configure: versioning on shared library symbols is darwin-export
checking for unistd.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for RLIMIT_DATA... yes
checking for RLIMIT_RSS... yes
checking for RLIMIT_VMEM... no
checking for RLIMIT_AS... yes
checking for RLIMIT_FSIZE... yes
checking for testsuite resource limits support... yes
checking for setenv declaration... yes
checking for setenv... yes
updating cache ./config.cache
checking for gxx-include-dir... no
checking for --enable-version-specific-runtime-libs... no
checking for install location... ${prefix}/include/c++/${gcc_version}
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating libmath/Makefile
config.status: creating libsupc++/Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile
config.status: creating testsuite/Makefile
config.status: creating scripts/testsuite_flags
config.status: creating config.h
config.status: executing default-1 commands
Adding multilib support to Makefile in ../../../gcc/libstdc++-v3
multidirs=ppc64
with_multisubdir=
Running configure in multilib subdirs ppc64
pwd: /Users/niko/proj/coro/gcc/objs/powerpc-apple-darwin8.3.0/libstdc+ +-v3
Running configure in multilib subdir ppc64
pwd: /Users/niko/proj/coro/gcc/objs/powerpc-apple-darwin8.3.0
mkdir ppc64
configure: creating cache ./config.cache
checking build system type... powerpc-apple-darwin8.3.0
checking host system type... powerpc-apple-darwin8.3.0
checking target system type... powerpc-apple-darwin8.3.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for powerpc-apple-darwin8.3.0-gcc... /Users/niko/proj/coro/ gcc/objs/ cc/xgcc -B/Users/niko/proj/coro/gcc/objs/./gcc/ -B/Users/niko/proj/ coro/gcc/i all/powerpc-apple-darwin8.3.0/bin/ -B/Users/niko/proj/coro/gcc/ install/powerp pple-darwin8.3.0/lib/ -isystem /Users/niko/proj/coro/gcc/install/ powerpc-appl arwin8.3.0/include -isystem /Users/niko/proj/coro/gcc/install/powerpc- apple-d
in8.3.0/sys-include  -m64
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compi
programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make[1]: *** [configure-target-libstdc++-v3] Error 1
make: *** [all] Error 2





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux