[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-users] Re: libbfd, libtool & Win32
From: |
Danny Smith |
Subject: |
Re: [Mingw-users] Re: libbfd, libtool & Win32 |
Date: |
Thu, 19 Sep 2002 06:37:07 +1000 (EST) |
--- David Olofson <address@hidden> 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
> address@hidden
>
> 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
- Re: [Mingw-users] Re: libbfd, libtool & Win32, (continued)
- Message not available
- Re: [Mingw-users] Re: libbfd, libtool & Win32, Guido Draheim, 2002/09/16
- Re: [Mingw-users] Re: libbfd, libtool & Win32, Max Bowsher, 2002/09/17
- Re: [Mingw-users] Re: libbfd, libtool & Win32, David Olofson, 2002/09/17
- Re: [Mingw-users] Re: libbfd, libtool & Win32, Guido Draheim, 2002/09/17
- Re: [Mingw-users] Re: libbfd, libtool & Win32, David Olofson, 2002/09/18
- Re: [Mingw-users] Re: libbfd, libtool & Win32, David Olofson, 2002/09/18
- Re: [Mingw-users] Re: libbfd, libtool & Win32, Danny Smith, 2002/09/18
- Re: [Mingw-users] Re: libbfd, libtool & Win32, David Olofson, 2002/09/18
- Re: [Mingw-users] Re: libbfd, libtool & Win32, Danny Smith, 2002/09/18
- Re: [Mingw-users] Re: libbfd, libtool & Win32, David Olofson, 2002/09/18
- Re: [Mingw-users] Re: libbfd, libtool & Win32,
Danny Smith <=
- Re: [Mingw-users] Re: libbfd, libtool & Win32, David Olofson, 2002/09/20
- Re: [Mingw-users] Re: libbfd, libtool & Win32, Guido Draheim, 2002/09/20
- Re: [Mingw-users] Re: libbfd, libtool & Win32, Earnie Boyd, 2002/09/20
- Re: [Mingw-users] Re: libbfd, libtool & Win32, David Olofson, 2002/09/23
- Re: [Mingw-users] Re: libbfd, libtool & Win32, David Olofson, 2002/09/23
- Re: [Mingw-users] Re: libbfd, libtool & Win32, Earnie Boyd, 2002/09/23
- Re: [Mingw-users] Re: libbfd, libtool & Win32, David Olofson, 2002/09/23
- Re: [Mingw-users] Re: libbfd, libtool & Win32, Earnie Boyd, 2002/09/23
- Re: [Mingw-users] Re: libbfd, libtool & Win32, Earnie Boyd, 2002/09/16
- Re: [Mingw-users] Re: libbfd, libtool & Win32, Max Bowsher, 2002/09/17