Guest
#1173625
Hello, I am new to embedded devleopment (years in the Desktop app world), and am having issues getting C++ to work on my AT91SAM9263-EK board. All of the samples that Atmel gives are pure C, not C++. When I take one of their simple samples and change its main.cpp (instead of main.c) and use g++ instead of gcc, I get the following link error: ld.exe: error: no memory region specified for loadable section `.gcc_except_table' After doing some digging, it seems like I need to customize my startup.s and my linker script for this board for C++ (exception tables, ctor and dtor stuff, etc.). Not ever having to worry about this in the Desktop world, I am way out of my league and have no real idea how to change either of these files. Does anyone have a sample project that does some basic C++ on this board. I know C++...just not how to get C++ to work on this particular board. I have uploaded the sample project that isn't working to http://www.madentec.com/test/cpptest.zip (NOTE: the at91lib is a directory Atmel provides...it has the linker script and startup code that seems to be geared for pure-C).