I was trying to compile the Python+Fortran Assimulo package on Sage (5.11) 
on OS X, and I couldn't figure out why the gfortran link step kept failing 
-- the correct linker flags for shared libraries weren't being used.  Turns 
out that the "fcompiler" support in Numpy's distutils will *always* look at 
LDFLAGS and use them instead of the carefully determined platform-specific 
flags.

And there's this code in sage-env:

if [ "$LDFLAGS" = "" ]; then
    LDFLAGS=""          && export LDFLAGS
fi

So the empty LDFLAGS setting was always clobbering the carefully determined 
platform-specific flags.

Not sure this is a good thing...

Bill

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to