Dllwrap is obsolete for most tasks so you should try the new method using
"gcc -shared" to build DLLs, because it is faster and will not complain
about a missing .def file. You use it in a way similar to building an exe:
gcc -shared -o foo.dll foo.o bar.o
(use "g++" instead of "gcc" for C++)
----- Original Message -----
Sent: Sunday, May 26, 2002 1:23 AM
Subject: [Mingw-users] can't get dllwrap to stop whining about .def
> Hi Guys,
> I've been playing with dllwrap to
> build a bunch of DLL's.
> I tend to explicitly declare
> exports in the code rather than
> use a .def.
> However, when using dllwrap,
> I systematically get the following msg:
> D:\mingw\bin\dllwrap.exe: no export definition file provided
> D:\mingw\bin\dllwrap.exe: creating one, but that may not be what you want
> I tried everything short of wrapping dllwrap in
> a perl script to filter out these.
> --quiet does not seem to have any effect whatsoever.
> Is there a way to get rid of this msg ?
> Any help appreciated,
> - Emmanuel
> PS: Please CC me of your answers to the list, I do
> not follow the list regularly.