#19868: interpreters build fails on cygwin
-----------------------------------+------------------------
       Reporter:  gouezel          |        Owner:
           Type:  defect           |       Status:  new
       Priority:  major            |    Milestone:  sage-7.0
      Component:  porting: Cygwin  |   Resolution:
       Keywords:                   |    Merged in:
        Authors:                   |    Reviewers:
Report Upstream:  N/A              |  Work issues:
         Branch:                   |       Commit:
   Dependencies:                   |     Stopgaps:
-----------------------------------+------------------------

Comment (by jpflori):

 The evilish `__imp` prefix is a Cygwin hack to link to DLL through static
 import libraries.
 The DLL exposes usual function names but might be problematic to directly
 link to, and the static import library is... well... static and provides a
 proxy to real function in the DLL, the proxy having the same name with
 `__imp`prepended.
 Note that it is not even needed anymore to go through static import
 libraries to link to DLL's but it is common practice to produce them.
 In the end the results is more or less the same performance wise for the
 produced binaries which use the DLL although linking time is higher when
 import libraries are used.

 In case you want to link to directly object files together you definitely
 don't need the `__imp` black magic.
 Or so do I think.

--
Ticket URL: <http://trac.sagemath.org/ticket/19868#comment:7>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to