public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* build gcc-4.1.1 on i386-apple-darwin8.6.1
@ 2006-06-06 18:10 Tim Campbell
  0 siblings, 0 replies; only message in thread
From: Tim Campbell @ 2006-06-06 18:10 UTC (permalink / raw)
  To: gcc-help

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-06-06 18:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-06 18:10 build gcc-4.1.1 on i386-apple-darwin8.6.1 Tim Campbell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).