[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gcc and egcs



On Sat, 8 Aug 1998, Liran Zvibel wrote:

> On Fri, 7 Aug 1998, Greg Starkes wrote:
> 
> > Last night I was trying to compile to programs that were written in c++
> > (wmcdplay & wmmixer). The installation instructions said to run xmkmf,
> > then make. When I did this xmkmf set CXX=c++ and CC=gcc. At this point I
> > should mention that I did NOT have egcs installed on my system, so c++ did
> > not exist, and when I changed the Makefile so that CXX=gcc, gcc
> > complained. (I can't remember the exact error, and I am away from my
> > machine.)
> 
> The problem is that gcc is an ANSI C compiler, and you wanted to compile a
> C++ program. I think that If you have just changed gcc to g++ ( the GNU
> C++ compiler)  everything would have worked.

I had no problem compiling this under bo...

The problem seems to be with xmkmf finding the wrong things...

-------------------------------------------------------------------------------
Greg Starkes, Computing & Communications, Memorial University of Newfoundland.
e-mail: gstarkes@morgan.ucs.mun.ca        www: http://www.cs.mun.ca/~gstarkes/


Reply to: