GMP and Snow Leopard : a report - Sept. 08, 2010

Signature science0.delphin at laposte.net
Wed Sep 8 12:45:42 CEST 2010


Dear Sir:

Please find a report for my successes and some failure in building GMP under Snow Leopard:
1. Please find below the basis-shell script used to build GMP and that worked:

rm *.log
make uninstall
make distclean

./configure --prefix=/Volumes/External_1/_Ze-Libraries/_GNU-gmp/_5.0.1/_i386 \
ABI=64 \
--enable-cxx \
CC="gcc -arch i386" CXX="g++ -arch i386" \
F77=gfortran \
2>&1 | tee my-configure.log
make 2>&1 | tee my-make.log
make check 2>&1 | tee my-check.log
make install 2>&1 | tee my-install.log
My remarks:
i) ABI=32 doesn't work (only the share subfolder is created). Only ABI=64 works ;
ii) with the command : lipo -info, I always have the x86_64 architecture, even though I set -arch i386;
iii) using --enable-fat issues an error.

2. -arch x86_64 only.
Success with a similar shell script.

3. Multiple architectures : FAILURE
CC="gcc -arch i386 -arch x86_64", etc.
Failure with the following message:
configure: error: could not find a working compiler, see config log for details.




Hoping you a good receipt.
I look forward to hearing from you.

Yours sincerely,

Laurent Delphin, Dunkerque (EU)
LDVenture 

Space Systems, Sustainable Life, & Ecosystems Advisor
Research, Survey, Design, & Management

Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ?
Je crée ma boîte mail www.laposte.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2010-09-07-SnowLeo-Reports_ALL.zip
Type: application/x-zip-compressed
Size: 76607 bytes
Desc: not available
URL: <http://gmplib.org/list-archives/gmp-bugs/attachments/20100908/875e55d9/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2010-09-07-SnowLeo-SUCCESS-i386.zip
Type: application/x-zip-compressed
Size: 76361 bytes
Desc: not available
URL: <http://gmplib.org/list-archives/gmp-bugs/attachments/20100908/875e55d9/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2010-09-07-SnowLeo-SUCCESS-x86_64.zip
Type: application/x-zip-compressed
Size: 73677 bytes
Desc: not available
URL: <http://gmplib.org/list-archives/gmp-bugs/attachments/20100908/875e55d9/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2010-09-07-SnowLeo-FAILURE-2ARCHs.zip
Type: application/x-zip-compressed
Size: 6127 bytes
Desc: not available
URL: <http://gmplib.org/list-archives/gmp-bugs/attachments/20100908/875e55d9/attachment-0007.bin>


More information about the gmp-bugs mailing list