Re: [Mingw-users] Dll Build Issue
On 6/17/2016 4:04 AM, Robert Cavanaugh wrote:
> Taking your advice, I searched the archives and found a thread that claimed some libraries built under Visual Studio will not work under mingw due to differences in mangling. The respondent advised the poster to recompile the library sources under mingw 32. Could this be the issue? The libraries armulif and clx are supplied in binary form. I understand your point regarding linking order, that was my first thought, but I think I followed the dependency tree accurately.
> Your point about --library is noted, I used it as the error messages seemed to originate from ld.
You don't need import libraries to link to a binary only distributed
library. You can link directly to the DLL itself. Specify the DLL as
an object file following the objects that use it. It has always been
the case that the object references come before the object definitions
while linking a library regardless of the programming language being
used. Sometimes you have to specify the object more than once on the
link commands in order to manage scenario of Object A depends on Object
B that depends on Object A. Visual Studio tends to help with that issue
by doing multiple passes of the objects in the statement which confuses
GCC should be able to use a library compiled with Visual Studio as long
as the compiled object is pure C. In other words you cannot use objects
from Visual Studio C++ code because that is where the mangling will be
Other mail list etiquette issues you have:
* your mail lines need to wrap to no more than 75 characters per line.
* you started a new thread rather than continuing the thread you began
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
MinGW-users mailing list
This list observes the Etiquette found at
We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated.
You may change your MinGW Account Options or unsubscribe at: