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?


Hi Ben,

I believe I am using gcc. Below is a copy of my make file.

Thanks
  Danny

my make file:

# 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  <danny@3rdplanetsoftware.com> writes:
>
>   danny> xxx.cpp(.eh_frame+0x11): undefined reference to '__gxx_personality_v0'
>
> Are you compiling xxx.cpp with g++?
>
> Ben


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