From: Georg F. <fu...@is...> - 2001-02-20 09:11:50
|
Here is an example Makefile! Georg Fusz wrote: > > Whyle linking you can use object-files (xxx.o) and file-archive (libXxx.a)in the > same way. > > ld -shared -o Mydll.dll ......... xxx.o libXxx.a > > Franco Bez wrote: > > > > AGIS Software <ag...@ag...> schrieb am 20.02.01: > > > I had hoped to somehow combine the static libraries and the program objects > > > into a single dll file, with an appropriate export for just the main > > > program. The calling MSVC program will only need to execute the main > > > program. On getting this far I can't find a way to do that easily as, from > > > my reading of the dll tool documentation, there is no way to just include > > > the static libraries in the dll build. > > > > > > Is my only option to make separate dlls for each of the dependent > > > libraries? Has anyone built something similar to what I am proposing, or > > > are there bigger hurdles that I haven't seen yet? I'm already over time on > > > this and need to decide how or whether to continue. > > > > Static libraries are merely collections of object files. > > That is very true and forgotten by the most people! > > > You can take them appart using the tool ar (see ar --help for info) > > > > The resulting .o files may be linked together to form a single DLL or EXE. > > > > This step is not necessary! > > > Ciao, > > Franco > > > > _______________________________________________________________________________ > > Alles unter einem Dach: Informationen, Fun, E-Mails. Bei WEB.DE: http://web.de > > Die gro?e Welt der Kommunikation: E-Mail, Fax, SMS, WAP: http://freemail.web.de > > > > _______________________________________________ > > MinGW-users mailing list > > Min...@li... > > > > You may change your MinGW Account Options at: > > http://lists.sourceforge.net/lists/listinfo/mingw-users > > -- > Georg Fusz > Technische Universitaet Berlin, Germany > > Fon: > Uni.: +49 30 314 26 884 > privat: +49 30 815 30 32 > Handy: +49 173 20 10 696 > > Homepage: http://www.cadlab.tu-berlin.de/~fusz/ > > _______________________________________________ > MinGW-users mailing list > Min...@li... > > You may change your MinGW Account Options at: > http://lists.sourceforge.net/lists/listinfo/mingw-users -- Georg Fusz Technische Universitaet Berlin, Germany Fon: Uni.: +49 30 314 26 884 privat: +49 30 815 30 32 Handy: +49 173 20 10 696 Homepage: http://www.cadlab.tu-berlin.de/~fusz/ |