Hi banyh,
The gcc compiler is auto produce __cxa_allocate_exception... etc.
The reason it "works" by defining it as a global NULL void pointer is probably because nothing is throwing an exception. When something tries to throw an exception, then you will see it misbehave.
you can reference the link:
http://stackoverflow.com/questions/329059/what-is-gxx-personality-v0-forAttachment:
2.jpg [ 222.72 KiB | Viewed 13409 times ]
solution:
you can add the "-fno-exceptions" at Andes C++ Compiler->Miscellaneous
Attachment:
1.jpg [ 180.96 KiB | Viewed 13409 times ]