delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/01/12/02:11:04

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Date: Sat, 12 Jan 2002 09:05:34 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: "Pedro Izecksohn" <izecksohn AT yahoo DOT com>
Message-Id: <9427-Sat12Jan2002090533+0200-eliz@is.elta.co.il>
X-Mailer: emacs 21.1.50 (via feedmail 8 I) and Blat ver 1.8.9
CC: djgpp AT delorie DOT com
In-reply-to: <004a01c19b11$fa228480$32e1a0c8@rjo.virtua.com.br>
(izecksohn AT yahoo DOT com)
Subject: Re: ??? gcc -Wall -o teste2.exe teste2.cc ???
References: <004a01c19b11$fa228480$32e1a0c8 AT rjo DOT virtua DOT com DOT br>
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

> From: "Pedro Izecksohn" <izecksohn AT yahoo DOT com>
> Date: Sat, 12 Jan 2002 00:36:19 -0200
> 
>    Should it work with c++ ? :
> 
> gcc -Wall -o teste2.exe teste2.cc
> 
>    With me, it isn't working. But the another way, compiling and linking in
> 2 separated steps, works fine.

Please always show the error messages you get; we cannot guess them
from thousands of kilometers away.

In general, C++ programs should be compiled with gpp, not gcc.
Please try "gpp -Wall -o teste2.exe teste2.cc" and see if that helps.

- Raw text -


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