Mail Archives: djgpp/2000/04/20/12:49:49
> From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
> Newsgroups: comp.os.msdos.djgpp
>
> 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.
On DOS this problem couldn't exist at all, since when LFN is not
available, Make itself downcases all file names, and will only see *.s
files, with a lower-case .s.
The original problem, as stated, could only happen on a Windows
system, where a rename I suggested *will* work.
- Raw text -