nisam ovo nikad radio - nije mi trebalo, ali vidi help sta kaze:
Code:
C:\MinGW\bin>dlltool --help
Usage dlltool <option(s)> <object-file(s)>
-m --machine <machine> Create as DLL for <machine>. [default: i386]
possible <machine>: arm[_interwork], i386, mcore[-elf]{-le|-be}, ppc, thumb
-e --output-exp <outname> Generate an export file.
-l --output-lib <outname> Generate an interface library.
-a --add-indirect Add dll indirects to export file.
-D --dllname <name> Name of input dll to put into interface lib.
-d --input-def <deffile> Name of .def file to be read in.
-z --output-def <deffile> Name of .def file to be created.
--export-all-symbols Export all symbols to .def
--no-export-all-symbols Only export listed symbols
--exclude-symbols <list> Don't export <list>
--no-default-excludes Clear default exclude symbols
-b --base-file <basefile> Read linker generated base file.
-x --no-idata4 Don't generate idata$4 section.
-c --no-idata5 Don't generate idata$5 section.
-U --add-underscore Add underscores to symbols in interface library.
-k --kill-at Kill @<n> from exported names.
-A --add-stdcall-alias Add aliases without @<n>.
-p --ext-prefix-alias <prefix> Add aliases with <prefix>.
-S --as <name> Use <name> for assembler.
-f --as-flags <flags> Pass <flags> to the assembler.
-C --compat-implib Create backward compatible import library.
-n --no-delete Keep temp files (repeat for extra preservation).
-t --temp-prefix <prefix> Use <prefix> to construct temp file names.
-v --verbose Be verbose.
-V --version Display the program version.
-h --help Display this information.
mingwm10.dll je deo paketa mingw32-runtime, pa nisam siguran ima li smisla konvertovati ga u .lib
Posto sam negde video da koristis Qt pogledaj ovo:
http://lists.trolltech.com/qt-interest/2006-08/thread00942-0.html
http://www.mail-archive.com/ce....sourceforge.net/msg00799.html
Sve se svodi na to da li koristis niti ili ne.
Uvek ti ostaje resenje da u foler gde ti je izvrsni program stavis i mingwm10.dll (uzmi ga is \Mingw\bin) i sve radi OK (ovako radi i Code::Blocks).