From: Danny S. <dan...@cl...> - 2002-12-17 00:01:33
|
----- Original Message ----- =46rom: "G=FCnter Knauf" <ef...@gm...> To: <min...@li...> Sent: Monday, 16 December 2002 23:32 Subject: RE: [Mingw-users] Control Panel Applets Hi Danny, > switch: If using gcc/g++ -shared, the --enable-stdcall-fixup needs = to be > passed to the linker as -Wl,--enable-stdcall-fixup. > I don't recall if the -Wl is necessary with dllwrap. now I'm just curious: is it somehow better or sometimes needed to link with dllwrap, or is = it just as with ld that gcc/g++ calls dllwrap with some default switches= ?? dlltool/dllwrap can do some things that gcc -shared cannot. The one feature of dlltool that I need sometime is forwarding of exports eg EXPORTS ;<name1> =3D <module-name> . <external-name>) foo =3D bar.foo where bar.dll has the real foo Also if you want to keep import libs completely clean of "auto-import= " symbols (the ones that start with "_nm_"), you should use dlltool. However, gcc -shared is generally faster since it does everything in = one step, while dlltool requires several passes, saving intermediate resu= lts in temp files. Danny > Guenter. ------------------------------------------------------- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ _______________________________________________ MinGW-users mailing list Min...@li... You may change your MinGW Account Options or unsubscribe at: https://lists.sourceforge.net/lists/listinfo/mingw-users |