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?= 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> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 -----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/