Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Reply-To: Cygwin List Message-Id: <6.1.0.6.0.20041113130630.044e96c8@pop.prospeed.net> X-Sender: Date: Sat, 13 Nov 2004 13:17:42 -0500 To: Michel Gr , cygwin AT cygwin DOT com From: Larry Hall Subject: Re: linking against cygz.dll and cygwin1.dll from visual studio.net 2003 In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 09:12 AM 11/13/2004, you wrote: >I am trying to link a C-project against cygz en cygwin1 from visual studio.net >2003. With some effort it compiles, but gives a error in the linking stage: > >D:/programming/cygwin/bin/cygz.dll : fatal error LNK1136: invalid or corrupt >file > >The project compiles and links fine with gcc. > >Is it possible at all to use visual studio with cygwin, and if so, is there a >simple hello world project for download somewere that demonstrates this? You can find some references to this in the email archives, although so far no one who has been interested enough in this subject to ask about it or find a "work-around" has been motivated to provide a patch to make this work automagically. Here's one reference with claimed success: It would be great if you or others that have interest in this route could follow this through and provide some patches to make it "just work" with Cygwin. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/