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,
Noor

 
On 8/30/06, Keith MARSHALL <keith.marshall@total.com> 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.

Regards,
Keith.

-------------------------------------------------------------------------
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
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
MinGW-users mailing list
MinGW-users@lists.sourceforge.net

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users