Mail Archives: djgpp/2000/04/20/10:04:56
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 -