From: Jason Green Newsgroups: comp.os.msdos.djgpp Subject: Re: Point make to gpp - how? Date: Sat, 22 Jan 2000 23:25:35 +0000 Organization: Customer of Planet Online Lines: 18 Message-ID: References: <388a3373 DOT 9048641 AT news> NNTP-Posting-Host: modem-5.manisyl.dialup.pol.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news7.svr.pol.co.uk 948583890 3033 62.136.77.133 (22 Jan 2000 23:31:30 GMT) NNTP-Posting-Date: 22 Jan 2000 23:31:30 GMT X-Complaints-To: abuse AT theplanet DOT net X-Newsreader: Forte Agent 1.7/32.534 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com rslists AT home DOT com wrote: > How can I get make.exe to use gpp.exe instead of gcc.exe for > compiling? I assume you are using make's built in rules and you are trying to compile a C++ program. If that is the case you need to set CXX = gpp If you are compiling to objects (.o) and then linking those seperately then you also need to set CC = gpp If you want to set compiler options use CXXFLAGS rather than CFLAGS CXXFLAGS = -O2 -Wall