Date: Sun, 27 Feb 2000 09:43:18 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Eugenio cc: djgpp AT delorie DOT com Subject: Re: HELP please In-Reply-To: <00aa01bf7efa$016fef60$a22fa492@Meyrin.lps.ufrj.br> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: dj-admin AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, 24 Feb 2000, Eugenio wrote: > CMDLINE=gcc -Wall -v -o2 gpc_eg2.exe pc_eg2.o -lp14io -lcpc40 -lcport > -lldsp -lsharc -lstdcxx -lm -exceptions This command line is wrong, it should have been something like this: gcc -Wall -v -O2 -o gpc_eg2.exe pc_eg2.o -lp14io -lcpc40 -lcport -lldsp -lsharc -lstdcxx -lm -exceptions Note the important differences: -O2 (capital O) *and* -o before gpc_eg2.exe. The former tells the compiler to produce optimized code, the latter tells it to put the code in gpc_eg2.exe, the program you want to produce.