This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: link dll to VC++


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 at hotmail dot com>
To: <cygwin at cygwin dot 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]