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]

Re: dlltool not creating a proper import library



It sounds to me like you're not using the official versions
of the sources, because:

1. gcc doesn't have "nm_" anywhere in it's backend sources.
2. Nothing in the linker does either.
3. I can't find the string "auto-import" in the sources anywhere.

So, unless you can reproduce this with the official tools, nobody here
is going to be able to help you much.  Have you tried reporting this
to the mingw list?

> However, when I use dlltool to make an import library from a .def file,
> I only get two  symbols for each exported symbol: _bar and __imp_bar.

This is normal.  For data symbols, you only get the _imp_ one.  And,
you'd get _imp__bar, not __imp_bar (the latter is obsolete).


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