Oliver schrieb:
Secondly, the resultant DLL will be linkable from a VC++ program, but the
C++ functions in it will not be accessible from code compiled with VC++.
Of course, the usual c++ name mangling incompatibilities.
And there comes the .def file to help.
You can define your needed aliases
Hi folks, I'm confused about the files that dllwrap
creates. On Unix (where I've been programming forever) all you
have to do is create a .so shared library. But dllwrap ends up
creating a .a file, a .def file, and a .dll file, yet I can
build a program that links to, e.g., mylib.dll, with
On Fri, 27 Aug 2004, Oliver wrote:
Hi folks, I'm confused about the files that dllwrap
creates. On Unix (where I've been programming forever) all you
have to do is create a .so shared library. But dllwrap ends up
creating a .a file, a .def file, and a .dll file, yet I can
build a program
On Fri, 27 Aug 2004, Igor Pechtchanski wrote:
On Fri, 27 Aug 2004, Oliver wrote:
Hi folks, I'm confused about the files that dllwrap
creates. On Unix (where I've been programming forever) all you
have to do is create a .so shared library. But dllwrap ends up
creating a .a file, a .def
Igor Pechtchanski pechtcha at cs.nyu.edu writes:
On Fri, 27 Aug 2004, Oliver wrote:
creating a .a file, a .def file, and a .dll file, yet I can
build a program that links to, e.g., mylib.dll, with only -L. -lmylib,
*wihtout* having the .def or .a available. So where and when are the .a
Igor Pechtchanski pechtcha at cs.nyu.edu writes:
The newer versions of gcc apparently allow you to link directly to a .dll
file. The .def and .a are needed for older versions of gcc, and possibly
for some other tools.
[...]
The reason you want an 'extern C' for DLL functions in general
On Fri, 27 Aug 2004, Oliver wrote:
Igor Pechtchanski pechtcha at cs.nyu.edu writes:
The newer versions of gcc apparently allow you to link directly to a .dll
file. The .def and .a are needed for older versions of gcc, and possibly
for some other tools.
[...]
The reason you want
Secondly, the resultant DLL will be linkable from a VC++ program, but the
C++ functions in it will not be accessible from code compiled with VC++.
Of course, the usual c++ name mangling incompatibilities.
Thanks for your help!
Oliver
--
Unsubscribe info:
8 matches
Mail list logo