[sage-devel] Re: -m64 is not a linker flag.

2009-08-31 Thread Dr. David Kirkby
Bill Hart wrote: > 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

[sage-devel] Re: -m64 is not a linker flag.

2009-08-31 Thread Bill Hart
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

[sage-devel] Re: -m64 is not a linker flag.

2009-08-30 Thread Dr. David Kirkby
Juanjo wrote: > On Aug 30, 5:51 pm, William Stein 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

[sage-devel] Re: -m64 is not a linker flag.

2009-08-30 Thread Juanjo
On Aug 30, 5:51 pm, William Stein 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, th

[sage-devel] Re: -m64 is not a linker flag.

2009-08-30 Thread William Stein
On Sat, Aug 29, 2009 at 11:16 PM, Dr. David Kirkby wrote: > > I've seen various spkg-install files where there is something like: > > if [ `uname` = "Darwin" -a "$SAGE64" = "yes" ]; then >echo "Building 64 bit OSX version of Sage" >CFLAGS="-O2 -g -m64 " && export CFLAGS >LDFLAGS="-m64"