ld --auto-import for cygwin and libtool

Christopher Faylor cgf@redhat.com
Sun Jul 22 10:11:00 GMT 2001

On Sun, Jul 22, 2001 at 12:59:50PM -0400, Charles Wilson wrote:
>Travis Howell wrote:
>>>I don't believe that this has _ever_ been supported by cygwin. Paul
>>>Sokolovsky created this hack himself.
>> I'm sure binutils-20000722-1 allowed auto importing of symbols and that was
>> broken/removed in binutils-20001029-1+.
>Nope.  20000722-1 was released after dj, cgf, and I finished up a major 
>round of binutils hacking.  The creation of dll's from binutils had 
>completely bitrotted due to Mumit's year long absence.  We restored it. 
>  But we did nothing to allow auto-importing of symbols without the need 
>for __declspec() in the source code, for DATA exports.  It is true, 
>however, and still IS true, that you don't REALLY need __declspec() for 
>FUNCTION exports. (*)
>Repeat:  20000722-1 REQUIRES declspec() modifiers in the code for DATA 

Right.  If --auto-import made it into a binutils release, it somehow did
so without my knowing about it.


More information about the Cygwin-apps mailing list