From: Michael G. <mg...@te...> - 2006-08-31 08:17:53
|
> There is another issue. I searched the FAQ but but could not find a > suitable answer. I have compiled my source code to form .obj. now I want = to > link the objs to form a .lib. Which linker flag should I use? >=20 > i used -shared but it did not work. What type of lib do you wish to create ? - shall it be a static lib ? * suiteable for MSVC ? - don't know OTOH * suiteable for MinGW ? - use ar and ranlib - shall it be an importlib ? see http://www.mingw.org/MinGWiki/index.php/CreateImportLibraries In any way: '-shared' does create a shared object (DLL). Best, Michael =2D-=20 Vote against SPAM - see http://www.politik-digital.de/spam/ Michael Gerdau email: mg...@te... GPG-keys available on request or at public keyserver |