Re: gcc and egcs
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.
>
> Thanks.
>
> -------------------------------------------------------------------------------
> Greg Starkes, Computing & Communications, Memorial University of Newfoundland.
> e-mail: gstarkes@morgan.ucs.mun.ca www: http://www.cs.mun.ca/~gstarkes/
Liran.
---
http://www.math.tau.ac.il/~liranz/
--
Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
Reply to:
- References:
- gcc and egcs
- From: Greg Starkes <gstarkes@morgan.ucs.mun.ca>