delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/11/07/10:16:50

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: 1.5.21: Problem building C application in Cygwin
Date: Tue, 7 Nov 2006 14:49:56 -0000
Message-ID: <01b601c7027b$fde7fa60$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <EBEGLEKHPDMHDFCGCNLOAEHGCDAA.narayanav@jataayusoft.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 07 November 2006 14:43, Narayana V.V.L wrote:

> Hi,
> 
> I have installed Cygwin on my system (WinXP). I have an written a sample
> application in Visual Studio 2005. When I try to build(compile) this
> application in cygwin using VC8 compiler & make file it fails.
> But the same application builds with VC8 when built in windows command
> prompt.
> Any help in setting up of the Visual Studio settings in Cygwin would be
> appreciated.

  The makefiles generated by visual studio are only suitable for use with
microsoft's nmake.  You should be able to successfully invoke nmake on them
from the cygwin bash shell, but there is no way that gnu make can understand
MSVC-format makefiles.

  Then again, if you're only using cygwin as a shell to kick off microsoft's
compiler and make utility, why are you using cygwin at all?  Why not a DOS
shell?


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....



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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019