Just to add to what was said. The -m64 is *required* on OSX 64. If you
don't include it, everything blows up. In fact you will get piles and
piles of errors which all look very subtle and you will pull your hair
out for months trying to figure out what is going wrong. All obvious
to Michael, but I've been bitten by this and wasted hours of my life
trying to figure out what had gone wrong.

In particular you'll find piles and piles of unresolved symbols. It
will complain you have compiled for the wrong architecture and the
symbols will all have extra leading underscores. VERY frustrating.

Bill.

On 30 Aug, 20:44, "Dr. David Kirkby" <david.kir...@onetel.net> wrote:
> Juanjo wrote:
> > On Aug 30, 5:51 pm, William Stein <wst...@gmail.com> wrote:
> >>> * It's hard to see why the options -O2 and -g are needed on Darwin, but
> >>> not on other platforms. Perhaps someone thought it was a good idea to
> >>> add debug support on OS X, but not on any other platform. Perhaps they
> >>> thought OS X is so slow, that it needs the code optimised, but other
> >>> platforms do not!
> >> Someone=somebody=Michael Abshoff in all cases here, so don't expect anybody
> >> to give any explanations.
>
> > This is just guessing, but when detecting GCC, the autoconf files set
> > CFLAGS="-O2 -g" so he was probably giving the defaults + what is
> > needed for 64 bits.
>
> > Juanjo
>
> Fair enough to add -m64 to CFLAGS, but not to LDFLAGS.
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an 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