Mail Archives: djgpp/1996/10/25/20:51:31
Allen lyons wrote:
>
> Does anyone know why this happens
> when I type this at the dos prompt?
> ----------------------------------------------------------
> C:\djgpp\output>gcc -o xani.exe XANI.CPP
> C:\djgpp\output>gcc -o xani.exe xani.cpp
> C:\djgpp\output>gcc -o xani.exe XANI.c
DJGPP uses the same POSIX file naming conventions as GNU:
.c C program
.C C++ program
.cc C++ program
.cpp C++ program
.s assembly program
.S assembly program that must be preprocessed
.o object file
.h header file
.y bison program
Non-DJGPP, but still relevant:
.z gzip archive
.Z compress archive (totally different format)
As you can see, case is significant in several ways here. Even though
DOS is case-insensitive, DJGPP is not, and you simply have to get used
to it. :) This also applies to parameters passed to programs; i.e.,
gcc -o ... is MUCH different from gcc -O ...
--
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I | fighteer AT cs DOT com |
| Plan: To find ANYONE willing to | http://www.cs.com/fighteer |
| play Descent 2 on DWANGO! | Tagline: <this space for rent> |
---------------------------------------------------------------------
- Raw text -