Yves Edel wrote:
Hi,
I tried to Install gmp-64 and it failed. gmp (32-bit) makes no
trouble. I had run fink selfupdade and update. I also tried to remove
the old gmp installation and do a fresh one. No success up to now.
I have one of the 2008 8*core MacPro with 10.5.2 and i686-apple-
darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)
(the 4.2 apple developer preview is also installed on the machine but
not as default gcc)
[]
checking build system type... pentium3-apple-darwin9.2.0
checking host system type... pentium3-apple-darwin9.2.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of
Makefiles... no
configure: error: ABI=64 is not among the following valid choices: 32
I am getting the same error on a new MacBookPro. The $host_cpu is also
(mis)detected as pentium3 instead of core2. I had a look at gmp's
config.guess script that does this detection, but it plays some
assembler games that are over my head. Instead of a real fix of the
config.guess script, I was successful with adding a patch file and a
"Patch: %n.patch" line in the gmp.info file. The patch file
"gmp-64bit.patch" is attached below.
--
Martin
--- orig/configure.orig 2008-04-01 08:22:25.000000000 +0200
+++ patched/configure 2008-04-01 10:00:15.000000000 +0200
@@ -3454,6 +3454,10 @@
# duplicate anything.
#
gcc_cflags_optlist="cpu arch"
+ case $host in
+ pentium3-apple-darwin*)
+ host_cpu="core2" ;;
+ esac
case $host_cpu in
i386*)
gcc_cflags_cpu="-mtune=i386 -mcpu=i386 -m386"
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users