[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080208142638.87EB.KOSAKI.MOTOHIRO@jp.fujitsu.com>
Date: Fri, 08 Feb 2008 14:28:34 +0900
From: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
To: "rohit h" <hrohit85@...il.com>
Cc: kosaki.motohiro@...fujitsu.com, linux-kernel@...r.kernel.org
Subject: Re: 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists