[lkml]   [2008]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: C++ in linux kernel

    > I am a kernel newbie.
    > I tried to insmod a C++ module containing classes, inheritance.
    > I am getting 'unresolved symbol' error when I use the 'new' keyword.
    > What could the problem be?

    under using gcc, new operator use malloc by default.
    but linux doesn't have malloc.

    Could you create custom allocater?

    > What kind of runtime support is needed ( arm linux kernel)? Is a
    > patch available for it?

    may be nothing.

    - kosaki

     \ /
      Last update: 2008-02-08 06:31    [W:0.021 / U:12.404 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site