I can't install gmp

Bianca De Souza beebeeamoras at aol.com
Wed Nov 18 12:39:23 CET 2009


 I will certainly look at the config.log file and keep trying to find a solution.
If I figure that out, I will post it here.
Thanks for trying....


-----Original Message-----
From: Torbjorn Granlund <tg at gmplib.org>
To: Bianca De Souza <beebeeamoras at aol.com>
Cc: gmp-bugs at gmplib.org
Sent: Wed, Nov 18, 2009 5:04 am
Subject: Re: I can't install gmp

Bianca De Souza <beebeeamoras at aol.com> writes:

  I did test a 'hello world!' program in C. With Xcode, I compiled and it
  print out it. GCC was installed when I installed XCode.

You might get an idea of what is wrong from your config.log:

configure:3900: gcc -O2 -pedantic -fomit-frame-pointer  conftest.c >&5
/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld: unknown architecture 
specification flag: -arch x86_64
/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld: Usage:
/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld [options] file [...]
collect2: ld returned 1 exit status
configure:3903: $? = 1
failed program was:
int main () { return 0; }

So a trivial main() cannot be compiled, the linker complains about a
flag "-arch x86_64" that GMP did not send, but the compiler itself

If you cannot reproduce this outside of GMP, then things are *very* strange.

  But it is apparently not working for the gmp library so I tried install
  gcc manually and know this installation does not go through.

Sorry, I don't understand.



More information about the gmp-bugs mailing list