Apart from -fno-rtti and -fno-exceptions you will probably need to use also
-ffreestanding. Excerpt from gcc man page:
-ffreestanding
Assert that compilation takes place in a freestanding environment.
This implies -fno-builtin. A freestanding environment is one in
I can't believe nobody has yet suggested that FreeBSD switch to IOKit...
On Sep 9, 2003, at 12:38 PM, M. Warner Losh wrote:
In message: <[EMAIL PROTECTED]>
"Matthew Emmerton" <[EMAIL PROTECTED]> writes:
: I've been silently following this thread, and unless I missed
something, has
:
In message: <[EMAIL PROTECTED]>
"Matthew Emmerton" <[EMAIL PROTECTED]> writes:
: I've been silently following this thread, and unless I missed something, has
: anyone asked John why he wants/needs to use C++ in the kernel?
I refrained from posting the name of a good neurologist in Boul
--- Doug Barton <[EMAIL PROTECTED]> wrote:
> On Mon, 8 Sep 2003, Pedro F. Giffuni wrote:
>
> > Hi;
> >
> > Attached is a good reasons why someone my want to use C++ in the kernel.
>
> Sorry, I don't see anything here except "this is all we know how to do."
> But, I'm a curmudgeon. :)
>
To be go
> From: John Giacomoni [mailto:[EMAIL PROTECTED]
> On Tuesday, Sep 9, 2003, at 00:29 America/Denver, Peter Jeremy wrote:
>
> > On Mon, Sep 08, 2003 at 11:12:59PM -0400, Alexander Kabaev wrote:
> >> On Mon, 8 Sep 2003 23:02:33 -0400
> >> "Matthew Emmerton" <[EMAIL PROTECTED]> wrote:
> >>
> >>> I've
> I don't know about __gxx_personaility_v0, but your best bet is to
> look at the .o's and find where it is referenced. Then back track
> it to what function, then to what construct and go from there.
The __gxx_personality_v0 stuff is actually related to distinguishing
between C++ and Java exc
On Tuesday, September 9, 2003, at 08:58 AM, John Giacomoni wrote:
On Tuesday, Sep 9, 2003, at 00:29 America/Denver, Peter Jeremy wrote:
On Mon, Sep 08, 2003 at 11:12:59PM -0400, Alexander Kabaev wrote:
On Mon, 8 Sep 2003 23:02:33 -0400
"Matthew Emmerton" <[EMAIL PROTECTED]> wrote:
[snip]
simple,
On Tuesday, Sep 9, 2003, at 00:29 America/Denver, Peter Jeremy wrote:
On Mon, Sep 08, 2003 at 11:12:59PM -0400, Alexander Kabaev wrote:
On Mon, 8 Sep 2003 23:02:33 -0400
"Matthew Emmerton" <[EMAIL PROTECTED]> wrote:
I've been silently following this thread, and unless I missed
something, has anyon
On Mon, 8 Sep 2003, Pedro F. Giffuni wrote:
> Hi;
>
> Attached is a good reasons why someone my want to use C++ in the kernel.
Sorry, I don't see anything here except "this is all we know how to do."
But, I'm a curmudgeon. :)
Doug
--
This .signature sanitized for your protection
On Mon, Sep 08, 2003 at 11:12:59PM -0400, Alexander Kabaev wrote:
>On Mon, 8 Sep 2003 23:02:33 -0400
>"Matthew Emmerton" <[EMAIL PROTECTED]> wrote:
>
>> I've been silently following this thread, and unless I missed
>> something, has anyone asked John why he wants/needs to use C++ in the
>> kernel?
Hi;
Attached is a good reasons why someone my want to use C++ in the kernel.
cheers,
Pedro.
(FWIW, OpenBFS is under an MIT license)
_
http://open-beos.sourceforge.net/tms/team.php?id=2
OpenBFS, as all file systems under BeOS, is being developed as a kernel add-on.
Un
On Mon, 8 Sep 2003 23:02:33 -0400
"Matthew Emmerton" <[EMAIL PROTECTED]> wrote:
> I've been silently following this thread, and unless I missed
> something, has anyone asked John why he wants/needs to use C++ in the
> kernel?
>
Tools, not policy :)
--
Alexander Kabaev
__
> On Mon, 8 Sep 2003 11:35:37 -0600
> John Giacomoni <[EMAIL PROTECTED]> wrote:
>
> > I was planning on using the macro __cplusplus to toggle using
> > extern "C" { }, however the bsd.kmod.mk style Makefiles seem to
> > force the language to -std=c99 even when compiling with c++ .
> >
> > my in
On Mon, 8 Sep 2003 11:35:37 -0600
John Giacomoni <[EMAIL PROTECTED]> wrote:
> I was planning on using the macro __cplusplus to toggle using
> extern "C" { }, however the bsd.kmod.mk style Makefiles seem to
> force the language to -std=c99 even when compiling with c++ .
>
> my initial steps ha
In message: <[EMAIL PROTECTED]>
"Raunchy McSmutbag" <[EMAIL PROTECTED]> writes:
: would a -static when compiling fix it?
no. There are big issues that one needs to know about. C++ in the
kernel is hard at best.
Warner
___
[EMAIL PROTECTED]
In message: <[EMAIL PROTECTED]>
John Giacomoni <[EMAIL PROTECTED]> writes:
: How would one go about creating a kernel module which utilizes
: C++ code?
That's a tough row to hoe.
: I was planning on using the macro __cplusplus to toggle using
: extern "C" { }, however the bsd.kmod.mk
would a -static when compiling fix it?
From: Enache Adrian <[EMAIL PROTECTED]>
To: John Giacomoni <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: C++ code in a kernel module?
Date: Mon, 8 Sep 2003 23:48:43 +0300
MIME-Version: 1.0
Received: from mx2.freebsd.org ([216.136.204.1
On Mon, Sep 08, 2003 a.d., John Giacomoni wrote:
> as long as I do not make any calls into kernel functions
> things seem to work (load), however when I make a call to
> mtx_init then on load i get the following error:
> __gxx_personality_v0 undefined.
>
> thoughts/ideas/suggestions?
That's nice.
18 matches
Mail list logo