Hi! I'm using a AT91SAM7X256 cpu on the AT91SAM7X-ek board with the "getting started" project makefile. I'm using Eclipse and GNU gcc. Now I'm trying to use sourcefiles with c++ but the makefile don’t seem to support c++. Dose anyone has a compatible makefile for this or knows what the problem am I‘ll be grateful. Cheers!
Joakim Gustafsson wrote: > Hi! > I'm using a AT91SAM7X256 cpu on the AT91SAM7X-ek board with the "getting > started" project makefile. I'm using Eclipse and GNU gcc. Now I'm trying > to use sourcefiles with c++ but the makefile don’t seem to support c++. > Dose anyone has a compatible makefile for this or knows what the problem > am I‘ll be grateful. > Cheers! Forgot to say I'm using Atmel SAM-ICE JTAG...
Joakim Gustafsson wrote: > I'm using a AT91SAM7X256 cpu on the AT91SAM7X-ek board with the "getting > started" project makefile. I'm using Eclipse and GNU gcc. Now I'm trying > to use sourcefiles with c++ but the makefile don’t seem to support c++. > Dose anyone has a compatible makefile for this or knows what the problem > am I‘ll be grateful. The "bare metal ARM" tutorial at embedded.com (see thread in this forum for links) explains the settings needed for C++, there is an example for AT91SAM7S which should be rather easy to port to SAM7X since the C++ options do not depend on the target-family. There is also a small C++ examples in my WinARM examples collection, see http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects/index_at91.html#at91_cpp Martin Thomas
Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
Log in with Google account
No account? Register here.