Date: Sun, 5 May 1996 14:10:31 +0200 (IST) From: Eli Zaretskii To: "A. Student" Cc: djgpp AT delorie DOT com Subject: Re: Repost: Problems with Make (building libc.a) In-Reply-To: <4mb967$9s0@news.maricopa.edu> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 2 May 1996, A. Student wrote: > I am having a problem with Make. When I try to build libc.a, make is > calling all of the .S files as .s files, hence it is not preprocessing > each file correctly. I cannot find anywhere in the makefile where it In this case, you don't use the right tools (like DJ already told you), but it might sometimes help to know that there are ways to force GCC invoke the correct programs even if its default rules fail. The "-x language" switches are there to do just that. For instance, to tell gcc that file.s should be passed through cpp first, say this: gcc -x assembler-with-cpp -c file.s