I can't install gmp

Torbjorn Granlund tg at gmplib.org
Wed Nov 18 11:04:30 CET 2009


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
generated.

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.

-- 
Torbjorn


More information about the gmp-bugs mailing list