--- David Olofson <[EMAIL PROTECTED]> wrote: > On Wednesday 18
September 2002 12:29, Danny Smith wrote:
> [...]
> > > > A gotcha with this is that some exported names in dll are aliases,
> > > > the prime culprit being stdcall names.
> > >
> > > Uh oh. Why would that be an issue with ld, if it isn't with
> > > impgen.c...?
> >
> > It is an issue with impgen. Try:
> > % impgen c:/winnt/system32/user32.dll
> >
> > All the names should have stdcall decoration, but don't.
> 
> Ok... Is that information at all available in a DLL, 

No.

or does that mean we 
> either have to make assumptions, or just *require* import libs to be 
> present?

The latter is certainly safer.  You also need to consider DATA symbols, and the
special tricks required to import data, particularly  arrays and structs, using
--enable-auto--import.   The extensions to --enable-auto-import for  arrays and
structs (Egor Duda's work ) require both binutils support (a modified linker
script, for a start) and runtime support (in the pipe for cygwin, not for
mingw)

Danny

> 
> 
> //David Olofson --- Programmer, Reologica Instruments AB
> 
> .- M A I A -------------------------------------------------.
> |      Multimedia Application Integration Architecture      |
> | A Free/Open Source Plugin API for Professional Multimedia |
> `----------------------------> http://www.linuxdj.com/maia -'
> .- David Olofson -------------------------------------------.
> | Audio Hacker - Open Source Advocate - Singer - Songwriter |
> `-------------------------------------> http://olofson.net -'
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by: AMD - Your access to the experts
> on Hammer Technology! Open Source & Linux Developers, register now
> for the AMD Developer Symposium. Code: EX8664
> http://www.developwithamd.com/developerlab
> _______________________________________________
> MinGW-users mailing list
> [EMAIL PROTECTED]
> 
> You may change your MinGW Account Options or unsubscribe at:
> https://lists.sourceforge.net/lists/listinfo/mingw-users 

http://mobile.yahoo.com.au - Yahoo! Messenger for SMS
- Always be connected to your Messenger Friends


_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to