Thanks Keith,
 
  I saw the FAQ. And tried adding it to the makefile as
 
$(LIBFILE) : $(OBJFILE) $(MAKEFILE)
 $(LD) --entry=0x409 $(OBJOUT)\galx86.obj -llibUSER32
 
but it still says

cannot find llibUSER32
 
Please help,
 
Thanks and Regards,
Noor
On 8/30/06, Keith MARSHALL <keith.marshall@total.com> wrote:
Noor Fatma wrote:
> I have a gui toolkit which is for x86 platform. previously I used
> to compile it with VC compiler. Now I am porting it to gcc for which
> I am using MinGW. Now all the files are getting compiled with MinGW
> but during linking it gives undefined symbols errors in the object
> files. The functions definition is in windows libraries. How should
> I link the windows libraries with MinGW.

This is a FAQ.  Please search the archives, and RTFM:
http://www.mingw.org/MinGWiki/index.php/FAQ
https://sourceforge.net/mailarchive/forum.php?forum_id=mingw-users
https://sourceforge.net/mailarchive/forum.php?forum=mingw-msys

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