Re: Compiler Issues

1998-08-11 Thread jdassen
On Tue, Aug 11, 1998 at 11:52:05AM +0200, Daniel Mashao wrote:
 I know we are going thru' compiler changes etc. I am trying to install any
 C++ compiler whether egcs or gcc. I installed all relevant files as far as
 I know and as far as the dpkg did not complain about missing packages. But
 when I compile a .cc file it gives the following output:
 
 com5 % gcc ff.cc

/usr/doc/{gcc,g++}/README tells you to use g++ or c++, not gcc to
compile C++ programs.

HTH,
Ray
-- 
POPULATION EXPLOSION  Unique in human experience, an event which happened 
yesterday but which everyone swears won't happen until tomorrow.  
- The Hipcrime Vocab by Chad C. Mulligan 


Re: Compiler Issues

1998-08-11 Thread Jason Gunthorpe

On Tue, 11 Aug 1998, Daniel Mashao wrote:

 I know we are going thru' compiler changes etc. I am trying to install any
 C++ compiler whether egcs or gcc. I installed all relevant files as far as
 I know and as far as the dpkg did not complain about missing packages. But
 when I compile a .cc file it gives the following output:
 
 com5 % gcc ff.cc
 In file included from ff.cc:1:
 /usr/include/g++/iostream.h:91: parse error before `__extension__'
 /usr/include/g++/iostream.h:208: parse error before `__extension__'
 
 Anybody knows what is wrong. 

gcc can't compile c++ programs, try g++

Jason