www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/20/00:44:28

From: boerma AT cs DOT utwente DOT nl
Newsgroups: comp.os.msdos.djgpp
Subject: Assembling question..... HELP NEEDED!
Date: Tue, 19 Nov 1996 22:26:29 GMT
Organization: University of Twente, Enschede, The Netherlands
Lines: 17
Message-ID: <56tc71$e2h@dinkel.civ.utwente.nl>
Reply-To: boerma AT cs DOT utwente DOT nl, j DOT r DOT brouwer AT student DOT utwente DOT nl
NNTP-Posting-Host: slp11246.slip.utwente.nl
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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
extension into .asm and preprocessing this file with the command:
GCC -E -xassembler-with-cpp something.asm -o something.s
After this "as -o something.o somthing.s" starts yelling at me that
somthing.s doesn't contain any Intel assembly instructions it
recognizes. By the way, GCC under Linux does preprocess and assemble
this file correctly.

Thanx in advance!

Desperately yours, 
Anton.

- Raw text -


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