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

    > 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:92.852 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site