Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!cmcl2!uupsi!sunic!news.funet.fi!uta!kielo!av From: av@kielo.uta.fi (Arto V. Viitanen) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: Problems using gcc ( dj1bin ) to compile c++ Message-ID: Date: 1 Mar 91 06:15:03 GMT References: <1991Feb27.145341.18701@newcastle.ac.uk> Sender: news@uta.fi Reply-To: av@uta.fi (Arto Viitanen) Followup-To: comp.binaries.ibm.pc.d Organization: University of Tampere, Finland Lines: 16 Nntp-Posting-Host: uta.fi In-reply-to: J.D.Coleman@newcastle.ac.uk's message of 27 Feb 91 14:53:41 GMT >>>>> On 27 Feb 91 14:53:41 GMT, J.D.Coleman@newcastle.ac.uk (Julian Coleman) said: Julian> We are having problems getting gcc to compile a simple c++ program. Julian> This is the compile sequence for this program : Julian> ----------------------------------------------------------------------- Julian> C:\C\SOURCE\GCC\TEST>gcc -v -o hello hello.c I noticed, that dj's gcc suppoces c++ programs extension to be .cc, so try to rename your program to hello.cc . -- Arto V. Viitanen email: av@kielo.uta.fi University Of Tampere, av@ohdake.cs.uta.fi Finland