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

