Hoi !

I am urged to use C++ in my threads. Since I have to use old code for
compatibility purposes, and this old code does allocate memory in threads, I
had to reimplement the new and delete operators to point to a kind of
rudimentary heap.

All basic .o files needed are colletced into a library (with the -o file
implementing the heap/mmu) and this library is used while linking the actual
modules. The module is then afterwards linked with the crts.

With the "standard" include file rtl_cpp.h this scheme worked perfect
(besides the segmentation faults in the kernel which sometime arised when
memory should be allocated and we got a page fault), but with my own heap i
have an unresolved symbol _GLOBAL_OFFSET_TABLE_.

What do I miss ? Any ideas ?

blue skies
        Jan

-- 
-- Jan Christian Albiez --    
-- FZI -- Haid-und-Neu-Str. 10-14 -- 76131 Karlsruhe -- +49 721 9654 206 --
-- segmentation violation in module reality.o ...
                                ... please shutdown your universe and reboot --
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to