delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/01/12/06:16:48

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Message-ID: <002401c19b5a$bca9efa0$32e1a0c8@rjo.virtua.com.br>
From: "Pedro Izecksohn" <izecksohn AT yahoo DOT com>
To: <djgpp AT delorie DOT com>
References: <004a01c19b11$fa228480$32e1a0c8 AT rjo DOT virtua DOT com DOT br> <9427-Sat12Jan2002090533+0200-eliz AT is DOT elta DOT co DOT il>
Subject: Re: ??? gcc -Wall -o teste2.exe teste2.cc ???
Date: Sat, 12 Jan 2002 09:17:29 -0200
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
Disposition-Notification-To: "Pedro Izecksohn" <izecksohn AT yahoo DOT com>
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Reply-To: djgpp AT delorie DOT com

   Thank you, Now it worked fine. It should be included in the readme.1st
file for DJGPP.

----- Original Message -----
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
To: "Pedro Izecksohn" <izecksohn AT yahoo DOT com>
Cc: <djgpp AT delorie DOT com>
Sent: Saturday, January 12, 2002 5:05 AM
Subject: Re: ??? gcc -Wall -o teste2.exe teste2.cc ???


> 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.




_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

- Raw text -


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