On Wednesday, February 2, 2011 8:50:36 AM UTC-8, Volker Braun wrote: > > Dave, can you elaborate on what SAGE64 is good for besides adding -m64? > Adding the compiler flag could easily be done in the gcc wrapper: > > http://trac.sagemath.org/sage_trac/ticket/10572 > > Sorry if this is slightly OT. >
I just unpacked all of the spkg files and did "grep SAGE64 -R ." from SAGE_ROOT/spkg/standard, and got lots of hits. Here are a few examples: >From boehm: if [ "$SAGE64" = "yes" ]; then echo "64 bit build" CFLAGS="-O2 -g -fPIC -m64 "; export CFLAGS LDFLAGS="-m64"; export LDFLAGS fi ********************************************************* >From ecl: if [ "x$SAGE64" = "xyes" ] ; then echo "Building a 64-bit version of ECL" CFLAGS="$CFLAGS $CFLAG64" CXXFLAGS="$CXXFLAGS $CXXFLAG64" LDFLAGS="$LDFLAGS $CFLAG64" fi [snip] if [ "x`uname -sm`" = "xSunOS i86pc" ] && [ "x$SAGE64" = xyes ] ; then # Need to add --with-dffi=no to disable assembly code on OpenSolaris x64. # and Solaris 10 on x64. # The option is only given if all the following are true # 1) Solaris, Solaris Express or OpenSolaris (SunOS) # 2) Intel or AMD CPU # 3) 64-bit build ./configure --prefix="$SAGE_LOCAL" --with-dffi=no else ./configure --prefix="$SAGE_LOCAL" fi ********************************************************* >From eclib: if [ "$SAGE64" = "yes" ]; then DYN_FLAGS="-m64"; export DYN_FLAGS PICFLAG="-m64 -fPIC" fi export PICFLAG -- John -- 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 URL: http://www.sagemath.org