#13336: farey_symbol.pyx fails to build on Cygwin
-------------------------------------+--------------------------------------
       Reporter:  jpflori            |         Owner:  tbd         
           Type:  defect             |        Status:  needs_review
       Priority:  major              |     Milestone:  sage-5.3    
      Component:  cygwin             |    Resolution:              
       Keywords:  cygwin linking     |   Work issues:              
Report Upstream:  N/A                |     Reviewers:              
        Authors:  Jean-Pierre Flori  |     Merged in:              
   Dependencies:                     |      Stopgaps:              
-------------------------------------+--------------------------------------
Changes (by {'newvalue': u'Jean-Pierre Flori', 'oldvalue': ''}):

  * keywords:  => cygwin linking
  * status:  new => needs_review
  * author:  => Jean-Pierre Flori


Old description:

> Missing gmpxx and gmp dependencies and use of --enable-auto-import for
> the linker.

New description:

 Because of DL_IMPORT stuff in headers generated by Cython and
 corresponding _ _ imp _ _ prefixes added in object files, farey.o cannot
 be linked to farey_symbol.o (it could with farey_symbol.dll if we
 generated it...).

 The patch here does not include farey_symbol.h but directly declare the
 prototype of the needed functions in farey.cpp, with the extern "C" stuff
 but without the dllspec(import) stuff.

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13336#comment:6>
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.

Reply via email to