delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/02/04/07:37:43

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Date: Mon, 4 Feb 2002 14:35:52 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Thomas Mueller <tmueller AT bluegrass DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: Problem after updating my version of DJGPP
In-Reply-To: <a3lpt7$19fef2$4@ID-49635.news.dfncis.de>
Message-ID: <Pine.SUN.3.91.1020204143214.10902E-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 4 Feb 2002, Thomas Mueller wrote:

> Under DOS, how does gcc see the difference between prog.c and prog.C ?  Does
> RHIDE keep whatever case the user types in?

Yes, the case you use when you type the file name matters.

> Or does gcc get the case from the command line?

It doesn't matter: both methods can be used.

Note that GCC accepts a special switch which tells it what is the 
language of the file it is about to compile; that switch overrides the 
defaults derived from a file name.

This, and some more, is explained in section 8.5 of the DJGPP FAQ list.

> DOS is not case-sensitive with file names and commands, all
> letters are converted to upper case.

DOS is only case-insensitive to file names.  Command lines are _not_ 
upcased.  Simply try "echo FOO" and "echo foo", and you will see that the 
arguments are echoed in the same case you typed them.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019