Hi,
Sage-4.0.alpha0 did build fine on my G4 PowerBook 550Mhz with OS X
10.4.11 and Xcode 2.5. From the istall.log:
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -
DOPERATION_scan1 -O2 -mpowerpc -no-cpp-precomp -force_cpusubtype_ALL -
c scan1.c -fno-common -DPIC -o .libs/scan1.o
/bin/sh ../libtool --mode=compile --tag=CC ../mpn/m4-ccas --m4="m4"
gcc -std=gnu99 -c -DHAVE_CONFIG_H -O2 -mpowerpc -no-cpp-precomp -
force_cpusubtype_ALL -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo
popcount | sed 's/_$//'` -I. -I. -I.. `test -f 'popcount.asm' || echo
'./'`popcount.asm
../mpn/m4-ccas --m4=m4 gcc -std=gnu99 -c -DHAVE_CONFIG_H -O2 -
mpowerpc -no-cpp-precomp -force_cpusubtype_ALL -D__GMP_WITHIN_GMP -I..
-DOPERATION_popcount -I. -I. -I.. popcount.asm -fno-common -DPIC -
o .libs/popcount.o
m4 -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_popcount -DPIC
popcount.asm >tmp-popcount.s
gcc -std=gnu99 -c -DHAVE_CONFIG_H -O2 -mpowerpc -no-cpp-precomp -
force_cpusubtype_ALL -D__GMP_WITHIN_GMP -I.. -DOPERATION_popcount -I. -
I. -I.. tmp-popcount.s -fno-common -DPIC -o .libs/popcount.o
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -
DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo
hamdist | sed 's/_$//'` -O2 -mpowerpc -no-cpp-precomp -
force_cpusubtype_ALL -c -o hamdist.lo hamdist.c
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -
DOPERATION_hamdist -O2 -mpowerpc -no-cpp-precomp -force_cpusubtype_ALL
-c hamdist.c -fno-common -DPIC -o .libs/hamdist.o
As one can see, the compilation is done *with* the option "-
force_cpusubtype_ALL".
>From the configuration output of the mpir package on my system:
...
checking build system type... powerpc7450-apple-darwin8.11.0
...
using ABI="32"
CC="gcc -std=gnu99"
CFLAGS="-O2 -mpowerpc -no-cpp-precomp -force_cpusubtype_ALL"
CPPFLAGS=""
CXX="g++"
CXXFLAGS="-O2 -mpowerpc -no-cpp-precomp -force_cpusubtype_ALL"
MPN_PATH=" powerpc32/vmx powerpc32 powerpc32 generic"
>From the configuration output of the install.log you posted:
...
checking build system type... powerpc7450-apple-darwin9.7.0
...
using ABI="32"
CC="gcc -std=gnu99"
CFLAGS="-I/sw/include"
CPPFLAGS="-I/sw/include"
CXX="g++"
CXXFLAGS="-I/sw/include"
MPN_PATH=" powerpc32/vmx powerpc32 powerpc32 generic"
So there is some misconfiguration happening --- the mpir maintainers
probably will find a solution quickly.
(Beware, I'm uneasy about the occurence of the MacPorts (or Fink?)
path "-I/sw/include" here.)
Cheers,
gsw
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---