From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30823 invoked by alias); 24 Jul 2002 16:33:04 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 30806 invoked from network); 24 Jul 2002 16:33:03 -0000 Received: from unknown (HELO ns1.3rdplanetsoftware.com) (64.81.39.61) by sources.redhat.com with SMTP; 24 Jul 2002 16:33:03 -0000 Received: from 3rdplanetsoftware.com (danny [192.168.1.2]) by ns1.3rdplanetsoftware.com (8.10.2/8.10.2) with ESMTP id g6OGXvP02080; Wed, 24 Jul 2002 09:33:57 -0700 Message-ID: <3D3ED1EA.D4674D6A@3rdplanetsoftware.com> Date: Wed, 24 Jul 2002 09:33:00 -0000 From: danny X-Accept-Language: en MIME-Version: 1.0 To: Ben Elliston , gcc gnu Subject: Re: recursion ok? References: <3D3DDF25.1B7FDEE9@3rdplanetsoftware.com> <15678.6772.539810.19058@tooth.toronto.redhat.com> <3D3E5021.2FE48FD8@3rdplanetsoftware.com> <15678.36634.964840.896604@tooth.toronto.redhat.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-07/txt/msg00245.txt.bz2 Hey Ben, Sorry for being such a newbie. I'm used to borland and I'm just learning make files. I'm also confused. What is the difference between gcc, g++, and cc? Here is my make file. How would u change it? Hey thanks. I think I might be asking to much here. If so please let me know. :-) :-) Peace Thanks Danny # Define these macros to match with your project's filenames TARGET = esucker OBJS = esucker.o LIBS = -lm CPP = gcc CPPFLAGS = -Wall -g -DDEBUG .SUFFIXES: .cpp $(TARGET): $(OBJS) $(CPP) $(CPPFLAGS) -o $@ $(OBJS) $(LIBS) # `make clean' removes extra files that crop up during development clean: rm $(OBJS) .cpp.o: $(CPP) $(CPPFLAGS) -c $< Ben Elliston wrote: > >>>>> "danny" == danny writes: > > danny> I believe I am using gcc. Below is a copy of my make file. > > You should always compile C++ programs with `g++'. > > Ben