Subject: Problem with mount and MS cl.exe
From: [email-masked] (Ed Huott)

2 Jan 1997 13:39:57 -0800
Sender: [email-masked]
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Original-To: [email-masked]
Original-Sender: [email-masked]

The mount mechanism doesn't seem to work properly with Microsoft's
compiler, cl.exe.  Inside bash (17.1 release), the c: drive is mounted
as /.  The following works:

  bash$ ls -l /foo/bar.c
  -rw-r--r--   1 500      everyone      795 Jan 02 15:44 /foo/bar.c

  bash$ cl /c c:/foo/bar.c
  Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 10.20.6166 for 80x86
  Copyright (C) Microsoft Corp 1984-1996. All rights reserved.

  bar.c

But if I try to do:

  bash$ cl /c /foo/bar.c

the compiler barfs with:

  Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 10.20.6166 for 80x86
  Copyright (C) Microsoft Corp 1984-1996. All rights reserved.

  Command line warning D4002 : ignoring unknown option '/foo/bar'
  Command line error D2003 : missing source filename

Apparently, cl.exe is making some assumptions about its command line
arguments that aren't accounted for in cygwin.dll's path tranlation
scheme?  I suspect other MS apps may suffer the same problem...
--
Ed Huott
Pinebush Technologies, Inc.
<[email-masked]>
-
For help on using this list, send a message to
"[email-masked]" with one line of text: "help".