Mail Archives: djgpp/2000/04/18/12:34:32
Sure, for example, GCC treats .c and .C differently. I've had this problem
before. GCC simply generated a bit different code depending on the case. .c is C
but .C is C++. This is because GCC has com from Unix which takes care about the
case. :)
You may have the same problem here.
--
Alexei A. Frounze
-----------------------------------------
Homepage: http://alexfru.chat.ru
Mirror: http://members.xoom.com/alexfru
Eli Zaretskii 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.
- Raw text -