This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Darwin Build Failure...
- From: Koaps <koaps at yahoo dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 5 Apr 2006 22:40:19 -0700 (PDT)
- Subject: Darwin Build Failure...
Hello All,
I'm trying to build gcc on my ppc and it keeps failing
at the same place.
checking for C compiler default output file name...
a.out
checking whether the C compiler works... configure:
error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make[1]: *** [configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory
`/Users/koaps/Devel/GccSrc/gcc-build'
make: *** [all] Error 2
I've tried using host,build,target, I've tried
matching the configure used for the installed gcc,
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with:
/private/var/tmp/gcc/gcc-5247.obj~4/src/configure
--disable-checking -enable-werror --prefix=/usr
--mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
--with-gxx-include-dir=/include/c++/4.0.0
--build=powerpc-apple-darwin8
--host=powerpc-apple-darwin8
--target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5247)
My ppc is current darwin
Darwin Koaps.local 8.6.0 Darwin Kernel Version 8.6.0:
Tue Mar 7 16:58:48 PST 2006;
root:xnu-792.6.70.obj~1/RELEASE_PPC Power Macintosh
powerpc
I've built and installed into /usr/local all the
listed programs but gcc obviously.
Koaps:~/Devel/GccSrc koaps$ ls -1
binutils-2.16
binutils-2.16.tar.gz
binutils-build
gcc-4.1.0
gcc-4.1.0.dist.size
gcc-4.1.0.tar
gcc-build
gmp-4.2
gmp-4.2.tar.gz
gmp-build
make-3.81
make-3.81.tar.gz
make-build
mpfr-2.2.0
mpfr-2.2.0.tar.gz
mpfr-build
I'm trying to make gcc with fortran support so I
wanted to use
--enable-languages=c,objc,c++,obj-c++,fortran
It seems to be ok with that after I built/installed
gmp/mpfr
the failure in libstdc++v3 build is as follows
../libtool: line 1: -dynamiclib: command not found
make[2]: *** [libstdc++.la] Error 127
make[2]: Leaving directory
`/Users/koaps/Devel/GccSrc/gcc-build/powerpc-apple-darwin8.6.0/libstdc++-v3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/Users/koaps/Devel/GccSrc/gcc-build/powerpc-apple-darwin8.6.0/libstdc++-v3'
make: *** [all] Error 2
Any help would be greatly appreaciated.
Thanks,
-k
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com