delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/20/10:04:56

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Make and filename case
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <bv1ufs0h7pe6of4djpc3b13101u144dbg6@4ax.com>
References: <8dg7gh$smr$1 AT nnrp1 DOT deja DOT com> <Pine DOT SUN DOT 3 DOT 91 DOT 1000418112837 DOT 28255N-100000 AT is>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 31
X-Trace: /bdhN4QE40coxCy0WSlcobr77VLm1bN0JxKXoxRhX59aNcGQbgCcm0Y4xTVOnPx3F2kVWdMHTuIW!MejCQps2gcJPlZjKRZz2PpfwqJh/GIwfnmEAfHgi/C6xgbmavRqq/1Z6Z5CBw9sWo/J6nZndpV9Q!Eg/ywQ==
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Thu, 20 Apr 2000 13:41:20 GMT
Distribution: world
Date: Thu, 20 Apr 2000 13:41:20 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Tue, 18 Apr 2000 11:28:55 +0200 (IST), Eli Zaretskii
<eliz AT is DOT elta DOT co DOT il> wrote:

>On Mon, 17 Apr 2000, Rossz wrote:
>
>> %.o: %.s
>> 	$(AS) $*.s -o $*.o
>> 
>> I found if the filename has an extension of .S (big letter) instead of
>> .s, this rule is not used.  On DOS/Windows systems, it should ignore the
>> case when checking rules, in my opinion.
>
>If the rule says ".s", then why does the file have a .S extension?  .S
>is interpreted by GCC differently than .s (see section 8.5 of FAQ for
>details).
>
>You could simply rename the file to have a .s extension, that should
>solve the problem.

That wouldn't work in plain DOS, where renaming the file to lowercase
doesn't do a thing, as DOS's canonicalizer uppercases all filenames.

My 2c

-- 
Damian Yerrick
"I refuse to listen to those who refuse to listen to reason."
See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html

This is McAfee VirusScan. Add these two lines to your signature to
prevent the spread of signature viruses.  http://www.mcafee.com/

- Raw text -


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