On May 21, 1:19 am, gsw <georgswe...@googlemail.com> wrote:
> Hi,

<SNIP>

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

Yes, CFLAGS seems completely wrong. I have a patch that will not let
the user set custom [C|CPP|LD]FLAGS unless explicitly forcing Sage to
do so and it will print a big, fat warning in install.log. I doubt
this is Sage's fault, but I guess looking at MPIR's config.log in spkg/
build/gmp-mpir.../src/src should help.

Oh well.

> Cheers,
> gsw

Cheers,

Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to