link dll to VC++

Martin mgainty@hotmail.com
Fri Apr 4 02:54:00 GMT 2003


Xiao

$(BASE)=foo

  gcc -shared -o cyg$(BASE).so -Wl,--out-implib=lib$(BASE).dll.a \
    -Wl,--export-all -Wl,--enable-auto-image-base \
    -Wl,--output-def=cyg$(BASE).def $(OBJS)

hth,
Martin
----- Original Message -----
From: "xiao chen" <chenxiaoellen@hotmail.com>
To: <cygwin@cygwin.com>
Sent: Thursday, April 03, 2003 6:31 PM
Subject: link dll to VC++


>
> hi,dear all
> can someone tell me how to link my dll generated by cygwin to VC++?
> i tried lots of ways but all fails..are they compatible? can someone help
> me?
> thank you and wish u all a nice day
>
>
>
>
>
>
>
>
>
>
> _________________________________________________________________
> Download Norah Jones, Eminem and more! http://www.msn.com.sg/ringtones/
>
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>
>

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list