[Date Prev][Date Next] [Chronological] [Thread] [Top]

[rtl] C++ and new in RTL



Hi there,

I'am writing a general tool, which allows to Programm 
Controler-Modules, that can run on normal Linux, in 
RT-Linux and on C167-Microcontrollers. The User must not know,
where the module is run later.

This project is writen in C++.

For initialization it is necessary to use contructs like

tModule *module = new tModule;
tModule *module = new tModule(...);
tModule *module = new tModule[any-number];

How can I manage this ?

insmod gives 

 unresolved symbol __builtin_delete
 unresolved symbol __builtin_new
 unresolved symbol __builtin_vec_new 

Can I make an easy implementation of these symbols or is it necessary
to define new  new/delete-functions ?


Kay  =8^)
-- 
     |\/\/\/|    
     |      |        Kay-Ulrich Scholl               |
     |      |        scholl@fzi.de                   |
     | (o)(o)       Forschungszentrum Informatik     |
     C      _)      Haid-und Neu-Str. 10-14          |
     | ,___|        D-76131 Karlsruhe                |
     |   /          0721/9654-218                    |
    /____\          FAX: 0721 / 9654 - 209           |
   /      \ -----------------------------------------+
--- [rtl] ---
For more information on Real-Time Linux see:
http://www.rtlinux.org/