delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/05/10/05:42:10

Date: Sat, 10 May 2003 12:37:34 +0300
From: "Eli Zaretskii" <eliz AT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: djgpp AT delorie DOT com
Message-Id: <7263-Sat10May2003123733+0300-eliz@elta.co.il>
X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9
In-reply-to: <Xns9376D1B42B989michelcprimusca@216.254.136.26> (message from
ChassMr on Fri, 09 May 2003 23:36:09 GMT)
Subject: Re: Help with make
References: <Xns9376D1B42B989michelcprimusca AT 216 DOT 254 DOT 136 DOT 26>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Newsgroups: comp.os.msdos.djgpp
> From: ChassMr <chasmr AT softhome DOT net>
> Date: Fri, 09 May 2003 23:36:09 GMT
> 
> cc -c main.cc
> make.exe : *** [main.o] Error -1

Try ${CC} instead of plain cc.  Make knows the names of the compilers
used by DJGPP; the CC macro has those names as its value.  Using the
macro makes your Makefiles portable to other platforms, where CC has
different values.

- Raw text -


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