[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] help in error: C++ compiler not installed on this sys
Re: [avr-gcc-list] help in error: C++ compiler not installed on this system
Wed, 17 May 2006 12:32:36 -0600
Mozilla Thunderbird 1.0.2 (Windows/20050317)
Leonardo B. Oliveira wrote:
I´ve installed avr-gcc in my linux. see:
address@hidden:~/foo > avr <TAB>
---- external command
avr-addr2line avr-c++filt avr-gcc-4.1.0 avr-ld
avr-objcopy avr-readelf avr-strip
avr-ar avr-cpp avr-gccbug avr-man
avr-objdump avr-size avrdude
avr-as avr-gcc avr-gcov avr-nm
But i cannot compile *.cpp files. see:
address@hidden:~/local > avr-gcc foo.cpp
avr-gcc: foo.cpp: C++ compiler not installed on this system
Why? avr-gcc is supposed to work w/ both C and C++, right?
Where did you install your toolchain from?
Did you insure that the toolchain was built for C *and* C++ languages?
Did you build it yourself?
You don't list an avr-g++, so it looks like your toolchain does not have
C++. But yes, C++ is available for the AVR.