delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/06/13/02:11:27

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <17815775.post@talk.nabble.com>
Date: Thu, 12 Jun 2008 23:10:57 -0700 (PDT)
From: CN <chanthu666 AT yahoo DOT co DOT in>
To: cygwin AT cygwin DOT com
Subject: cl.exe cannot understand gygwin path format
MIME-Version: 1.0
X-Nabble-From: chanthu666 AT yahoo DOT co DOT in
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Hi,

I am trying to compile a .c file using cl.exe in cygwin.
I am getting following Error.

$ cl -Fo/cygdrive/e/cnair/tmp/hai.o /cygdrive/e/cnair/tmp/hai.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.00.9466 for 80x86
Copyright (C) Microsoft Corporation 1984-2001. All rights reserved.

cl : Command line warning D4002 : ignoring unknown option
'/cygdrive/e/cnair/tmp
/hai.c'
cl : Command line error D2003 : missing source filename

  If I  change the .c file path format to normal windows format then it is
working fine.

Is there any option/way to compile files using cl.exe with the same cygwin
path format?

Thanks and regarsd,
CN


-- 
View this message in context: http://www.nabble.com/cl.exe-cannot-understand-gygwin-path-format-tp17815775p17815775.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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