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" To: 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 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 Disposition-Notification-To: "Pedro Izecksohn" 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" To: "Pedro Izecksohn" Cc: Sent: Saturday, January 12, 2002 5:05 AM Subject: Re: ??? gcc -Wall -o teste2.exe teste2.cc ??? > From: "Pedro Izecksohn" > 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