Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Originating-IP: [12.254.208.112]
X-Originating-Email: [mgainty@hotmail.com]
From: "Martin" <mgainty@hotmail.com>
To: "xiao chen" <chenxiaoellen@hotmail.com>, <cygwin@cygwin.com>
References: <F109H5CLqI9UT9174G5000279c6@hotmail.com>
Subject: Re: link dll to VC++
Date: Thu, 3 Apr 2003 19:26:28 -0700
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Message-ID: <OE58vbEPDjQh42kMhTJ0002a717@hotmail.com>
X-OriginalArrivalTime: 04 Apr 2003 02:27:17.0303 (UTC) FILETIME=[B6076C70:01C2FA51]

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/

