[En-Nut-Discussion] compiling NutOS CVS Head with avr-gcc failes on nutcpp.c

Harald Kipp harald.kipp at egnite.de
Tue Jan 25 17:36:20 CET 2005


Ole,

Mh, you see me puzzled.

Top level Makerules.avr-gcc contains

%o : %cc
         $(CXX) -c $(CXXFLAGS) $(INCFIRST) -I$(INCDIR) $(INCLAST) $< -o $@

and in Makedefs.avr-gcc there is

TRGT   = avr-
CC     = $(TRGT)gcc
CXX    = $(TRGT)g++

Can you please verify this? If this all fails please replace
SRCS =  nutcpp.cc
with
SRCS =
in cpp/Makefile. I'll check Debian within this week, but
currently I'm too short in time, sorry.

Harald

At 17:27 25.01.2005 +0100, you wrote:
>Hi Harald,
>
> > Whenever Makedefs.avr-gcc and Makerules.avr-gcc changed,
> > which they did for the CPP patch, you need to do ./configure
> > or simply copy those files to Makedefs and Makerules resp.
>
>sorry, for me this did not work. I'm using the debian avr-gcc package if
>this helps you.
>
>I still get the same error and still g++ is used instead of avr-g++.
>Sorry, I'm no c++ expert so I don't know where I have to change the
>makefiles accordingly.
>
>Bye,
>
>Ole




More information about the En-Nut-Discussion mailing list