This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: recursion ok?


>>>>> "danny" == danny  <danny@3rdplanetsoftware.com> writes:

    danny> Hi Ben, I believe I am using gcc. Below is a copy of my
    danny> make file.

    danny> Thanks Danny

    danny> my make file:

    danny> # Define these macros to match with your project's
    danny> filenames TARGET = esucker OBJS = esucker.o LIBS = -lm CPP
    danny> = gcc CPPFLAGS = -Wall -g -DDEBUG

You should use CXX=g++ and CXXFLAGS instead of CPP* because usually
CPP in this context stands for C Pre Processor - and you should compile
your C++ files with g++ rather than gcc anyway.

Claudio


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]