c++, new() error
Steve Strobel
steve at link-comm.com
Tue Aug 26 19:45:18 UTC 2003
The README.configure file says the following:
By default, the RTEMS support of C++ is disabled. It can be enabled
with the --enable-cxx option. If the rtems++ C++ library is installed
it will also be build.
Steve
At 09:21 PM 8/26/2003 +0200, you wrote:
>Hy all,
>
>I'm trying to see if is possible to use c++ on my board (which I have personally
>wrtitten for an arm starting by an existing one.)
>
>
>Now I'm able to compile an application which define static object, the only
>problem is that I can't use new(), because when I try compile the compiler give
>to me that error:
>
>/scratch/francesco/initialc++/init.cpp:44: undefined reference to `operator
>new(unsigned long)'
>/scratch/francesco/initialc++/init.cpp:44: undefined reference to `operator
>delete(void*)'
>/scratch/francesco/initialc++/init.cpp:44: undefined reference to `operator
>delete(void*)'
>/scratch/francesco/initialc++/init.cpp:51: undefined reference to
>`__gxx_personality_sj0'
>
>Someone know if is possible to have a board which use it? If yes what I need to
>had in order to have it working?
>
>Really thanks to all Francesco.
---
Steve Strobel WWW: http://www.link-comm.com
Link Communications, Inc. Phone: (406) 245-5002 ext 102
MailTo:steve at link-comm.com Fax: (406) 245-4889
More information about the users
mailing list