#8844: add missing libraries to module_list for Cygwin (and Fedora, OpenSuSE,
...)
------------------------------------------------+---------------------------
Reporter: mhansen | Owner: tbd
Type: defect | Status: closed
Priority: major | Milestone: sage-4.4.3
Component: build | Resolution: fixed
Keywords: missing library, unresolved symbol | Author: Mike Hansen
Upstream: N/A | Reviewer: Leif
Leonhardy, William Stein
Merged: sage-4.4.3.alpha0 | Work_issues:
------------------------------------------------+---------------------------
Comment(by drkirkby):
Replying to [comment:9 leif]:
> Btw, at least all Sage library C files (of course including those
generated by {{{cython}}}) compile with gcc and {{{-std=c99
[-pedantic]}}}, though not really standard-conformant. (C++ files
currently don't, neither with {{{-std=c++98}}} nor {{{c++0x}}}.)
>
>
The problem with c_lib/SConstruct is that nobody to my knowledge knows
SCons well. I know it needs something to add the -m64 flag to CFLAGS,
CXXFLAGS and LDFLAGS on platforms other than OS X (darwin). Something like
(untested)
{{{
if env['PLATFORM'] != "darwin" and os.environ['SAGE64']=="yes"
env.Append( CFLAGS="-O2 -g -m64" )
env.Append( CXXFLAGS="-O2 -g -m64" )
env.Append( LINKFLAGS="-m64" )
}}}
This seems a problem in general with Sage and SCons - nobody really knows
what they are doing with it.
Dave
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8844#comment:15>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.