Forum Discussion
Altera_Forum
Honored Contributor
21 years ago*new* problem
I'm trying to create a C++ application for uClinux. Really all I need to do is include a class that I created. If I make a pointer to the class and then try to create a new instance of it, I get ...
Altera_Forum
Honored Contributor
21 years ago --- Quote Start --- originally posted by randog77@Jun 20 2005, 11:40 PM i'm trying to create a c++ application for uclinux. really all i need to do is include a class that i created. --- Quote End --- gcc does support new http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/rolleyes.gif (duh!) make certain that you use the C++ compiler:
g++ -o myprog -Wl,-efl2flt myfile.c and not the gcc binary (C compiler). If I were you, I'd think twice about writing C++ for a nommu arch http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/blink.gif but that might just be me ...