[ Nedeljko @ 10.04.2008. 20:23 ] @
Kako *.dll biblioteku konvertovati u *.a biblioteku za statičko linkovanje? Koristim MinGW C++ kompajler. Čuo sam da ima neki alatčić u samom MinGW-om. |
[ Nedeljko @ 10.04.2008. 20:23 ] @
[ idb @ 11.04.2008. 10:38 ] @
cini mi se dje u pitanju: dlltool.exe
u bin folderu [ Nedeljko @ 11.04.2008. 11:25 ] @
A jel mozes da mi das tacnu komandu za konvertovanje mingwm10.dll u biblioteku za staticko linkovanje?
[ idb @ 12.04.2008. 22:24 ] @
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). [ idb @ 12.04.2008. 22:29 ] @
... e sad sam pogledo na MingWiki, i mislim da je ovde sasvim jasno...
http://www.mingw.org/MinGWiki/...53a72e1aaedc8515f8fd7fa37a7240 Copyright (C) 2001-2025 by www.elitesecurity.org. All rights reserved.
|