www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/20/02:34:05

Date: Wed, 20 Nov 1996 09:24:51 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: boerma AT cs DOT utwente DOT nl, j DOT r DOT brouwer AT student DOT utwente DOT nl
Cc: djgpp AT delorie DOT com
Subject: Re: Assembling question..... HELP NEEDED!
In-Reply-To: <56tc71$e2h@dinkel.civ.utwente.nl>
Message-Id: <Pine.SUN.3.91.961120092047.20364D-100000@is>
Mime-Version: 1.0

On Tue, 19 Nov 1996 boerma AT cs DOT utwente DOT nl wrote:

> I have been having an argument with my DJGPP compiler all day, am
> getting pretty desparate. How do I get a make file to automatically
> assemble a preprocessed .S file. The trouble i have is that DOS
> doesn't know the difference between a .s (preprocessed) and a .S
> (to-be-preprossed) file. I tried cheeting by changing the original .S

Why cheat?  Simply say thus:

	gcc -c file.S

This should work, at least from the DOS command line, because DOS is
case-insensitive, but gcc is not.  If it doesn't work, please post the
command line you use and the exact error message(s) that you get.  If the
above does work from the DOS prompt, but not from a Makefile, please post
the shortest Makefile that exhibits this problem and the error message(s)
that you get, and somebody will help. 

Also, please tell what version of DJGPP and what version of Make do you
use.

- Raw text -


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