delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/06/13/07:04:07

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
X-Spam-Score: -0.108
Message-ID: <485253FD.6050308@sh.cvut.cz>
Date: Fri, 13 Jun 2008 13:03:25 +0200
From: =?ISO-8859-1?Q?V=E1clav_Haisman?= <v DOT haisman AT sh DOT cvut DOT cz>
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cl.exe cannot understand gygwin path format
References: <17815775 DOT post AT talk DOT nabble DOT com>
In-Reply-To: <17815775.post@talk.nabble.com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

CN wrote:
| 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?
No, it is not. CL is native Windows executable and thus does not handle
Cygwin paths. At best you could use the cygpath utility to convert the
paths.

|
| Thanks and regarsd,
| CN
|
|

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAkhSU/0ACgkQjksRtmO2spdtZQCfdOSdQZjjbtPDX7A5YIyHD8mB
HtcAnR9DSOpWD9gE6N2YavLu0xktSCvL
=i++9
-----END PGP SIGNATURE-----

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