From: drupp AT cs DOT washington DOT edu (Douglas Rupp) Message-Id: <199607131738.KAA08804@june.cs.washington.edu> Subject: .c vs .C vs .cc To: djgpp-workers AT delorie DOT com Date: Sat, 13 Jul 1996 10:38:33 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit The gcc driver program recognizes the .C extension as being different from the .c extension on the (raw) DOS command line. .C, of course, flags a C++ program. .C is synonomous with .c++, .cpp, .cc, .cxx. So there are alternatives. A problem arises with various DOS utilities which return filenames in all uppercase, so if one uses these to automatically generate compilation scripts, the wrong compiler gets called. It's not so much an issue with .c and .C as it is with .ADB and .ADS. Gcc doesn't recognize these as Ada units at all. I propose submitting a request to change the comparison code in gcc to make it case insensitve, as it already does for OS/2. What do people think? Do people actually use the .C extension on DOS to flag C++ programs?