|
From: Luke D. <cod...@ho...> - 2003-03-27 01:37:50
|
>From: "Paul G." <pga...@at...> >Reply-To: pga...@at... >To: min...@li... >Subject: [Mingw-msys] "dllwrap" >Date: Wed, 26 Mar 2003 16:08:28 -0800 > >Hi folks, > > I know that dllwrap is being deprecated. I also know that "dllwrap" is >part of Mingw and >is not part of Msys per se. > > My question (actually it is two questions for the price of one): > > Is "dllwrap source code" invoke "ld" or does the "dllwrap/dlltool >process" simply convert >input object files (foo.o, foo1.o, etc.) directly to the data format of a >.dll file? > > I have a theory that the "dllwrap process" actually converts object files >directly to a .dll file >in much the same way that "ar" directly converts a collection of object >files to a static lib (.a >file). Can someone detail exactly what happens when "dllwrap/dlltool" is >used? > > If you do not care to reply because this is such an extremely "dumb" >question coming >from someone like me, then would someone please let me know where I can >find the source >code for "dllwrap" in order to determine for myself if "dllwrap" or >"dlltool" invokes "ld" or not? > > Thanks for your time, > > Paul G. Try adding "-v" to your dllwrap command line and you'll see all the commands it uses (IIRC it invokes dlltool and runs ld indirectly through gcc). The source is in the MinGW binutils package or here: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/binutils/dllwrap.c?rev=1.12&content-type=text/x-cvsweb-markup&cvsroot=src Luke _________________________________________________________________ Hotmail now available on Australian mobile phones. Go to http://ninemsn.com.au/mobilecentral/hotmail_mobile.asp |