This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: stdcall, @s, and ld/dlltool...


"Matthew Brett" <matthew.brett@mrc-cbu.cam.ac.uk> wrote:

> Many thanks for the reply.  Suffering as I have from this problem, I had
> found your messages on this list, which was why I reposted here.  I have
> the painful feeling I don't understand this problem completely, but my
> worry is that I can't use this solution:
> 
> > dllwrap -o $(LIBRARY).dll $(OBJS) $(LIBS) -k --def $(LIBRARY).def ...
> 
> because I do not have the source for the libraries.  It is true isn't it
> that for some reason --enable-stdcall-fixup when doing final linking with
> the dll library created by dlltool, does not work on this problem?  Is
> this a bug?

Oh, sorry. Didn't pay enough attention to your post. But anyway, you might
create a proper import library to link with, and in that case patched dlltool
should help you here:

dlltool --kill-at --input-def $(LIBRARY).def --output-lib lib$(LIBRARY).a

-- 
Dmitry.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]