delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/03/16:01:50

From: Clemens Valens <c DOT valens AT mindless DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Q: makefile uses cpp to assemble?
Organization: http://www.remarq.com: The World's Usenet/Discussions Start Here
X-Originating-Host: 195.154.148.69
X-Wren-Trace: cE1qSl9NEXBWGBlvXQMMBAweDRASGloBGBMCHx0ADU0TElgCElgMDRAYEQYVVB5ZAldATl8caWVBUANAUghKVgYOQ0k=
Message-ID: <928424222.4567@www.remarq.com>
Lines: 29
Date: Thu, 03 Jun 1999 07:37:01 -0800
NNTP-Posting-Host: 10.0.3.195
X-Trace: WReNphoon4 928424142 10.0.3.195 (Thu, 03 Jun 1999 08:35:42 PDT)
NNTP-Posting-Date: Thu, 03 Jun 1999 08:35:42 PDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,

I have a makefile for djgpp that tries to invoke "cpp" to
transform assembly files (".s") into something else (".i")
before assembling them with "as", see below:

*** makefile fragment ***

STD_CPP_DEFINES = -DSYSV -DSYSV386
AS = as
CPP = cpp $(STD_CPP_DEFINES)

.s.o:
	$(CPP) $*.s >$*.i
	$(AS) -o $*.o $*.i

*** end of makefile fragment ***

However, I don't have "cpp" and I have no idea what it is
(preprocessor?). Does somebody know what this "cpp" is,
what it is trying to do and where I can get it?

Any help would be greatly appreciated.

Clemens



**** Posted from RemarQ - http://www.remarq.com - Discussions Start Here (tm) ****

- Raw text -


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