This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
build gcc-4.1.1 on i386-apple-darwin8.6.1
- From: Tim Campbell <tim dot campbell at nrlssc dot navy dot mil>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 6 Jun 2006 13:10:39 -0500
- Subject: build gcc-4.1.1 on i386-apple-darwin8.6.1
Greetings,
I am trying to build gcc-4.1.1 on i386-apple-darwin8.6.1. Configure
completes but states the following:
The following languages will be built: c,c++,java,objc
*** This configuration is not supported in the following subdirectories:
target-libmudflap target-libffi target-boehm-gc target-zlib
target-libjava target-libada gnattools target-libgfortran
(Any other directories should still work fine.)
In config.log I find the following error:
configure:2301: checking for MPFR
configure:2314: gcc -o conftest -g -O2 conftest.c -lmpfr -lgmp 1>&5
/usr/bin/ld: warning /usr/local/lib/libmpfr.a archive's cputype (18,
architecture ppc) does not match cputype (7) for specified -arch
flag: i386 (can't load from it)
/usr/bin/ld: warning /usr/local/lib/libgmp.a archive's cputype (18,
architecture ppc) does not match cputype (7) for specified -arch
flag: i386 (can't load from it)
/usr/bin/ld: Undefined symbols:
_mpfr_init
collect2: ld returned 1 exit status
configure: failed program was:
#line 2306 "configure"
#include "confdefs.h"
#include <gmp.h>
#include <mpfr.h>
int main() {
mpfr_t n; mpfr_init(n);
; return 0; }
Is it possible to build gcc with these mixed architecture libraries
or do I need to build new versions of the libraries.
Thanks,
~Tim