Thanks Keith,
   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?
i used -shared but it did not work.
Thanks and Regards,

On 8/30/06, Keith MARSHALL <> wrote:
Earnie Boyd wrote:
> And also, the library name given to the linker needs to be given
> without the lib prefix.  With -llibUSER32 the linker is looking for
> a file in the library paths for one of liblibUSER32.dll.a,
> liblibUSER32.a, libUSER32.dll and libUSER32.lib.  You would need to
> specify -luser32 to ld for it to find the library file.

Oops!  I missed that.  Thanks.


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
MinGW-users mailing list

You may change your MinGW Account Options or unsubscribe at: