ntire kernel.
> I only want to compile my module with g++ and insmod it.
> Any hint on how to write the Makefile.
You really should learn on the differences at run-time between between
- pure C in a hosted environment (read: you have a full libc),
- pure C in a standalone environment (read: e.g. the
problem be?
> > >>
> > >> What kind of runtime support is needed ( arm linux kernel)? Is a
> > >> patch available for it?
> > >>
> > >Please take a look at click modular router which is using c++ as a
> > >linux kernel m
inheritance.
> >> I am getting 'unresolved symbol' error when I use the 'new' keyword.
> >> What could the problem be?
> >>
> >> What kind of runtime support is needed ( arm linux kernel)? Is a
> >> patch available for it?
> >&
at click modular router which is using c++ as a
linux kernel module.
http://www.read.cs.ucla.edu/click/
The lib/glue.cc provides custom operator new.
Uh, let's not make the world worse :)
Just call malloc from C++, and carefully select what C++ features
you are going to use. The VMware
the 'new' keyword.
What could the problem be?
What kind of runtime support is needed ( arm linux kernel)? Is a
patch available for it?
Please take a look at click modular router which is using c++ as a
linux kernel module.
http://www.read.cs.ucla.edu/click/
The lib/glue.cc provides
module with g++ and insmod it.
Any hint on how to write the Makefile.
You really should learn on the differences at run-time between between
- pure C in a hosted environment (read: you have a full libc),
- pure C in a standalone environment (read: e.g. the Linux kernel), and
- C++ in both variants
>> I am getting 'unresolved symbol' error when I use the 'new' keyword.
> >> What could the problem be?
> >>
> >> What kind of runtime support is needed ( arm linux kernel)? Is a
> >> patch available for it?
> >>
> >Please take a lo
What could the problem be?
>>
>> What kind of runtime support is needed ( arm linux kernel)? Is a
>> patch available for it?
>>
>Please take a look at click modular router which is using c++ as a
>linux kernel module.
>http://www.read.cs.ucla.edu/click/
>The li
ordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
Rohit,
Please take a look at click modular router which is using c++ as a
linux kernel module.
http://www.read.cs.ucla.edu/click/
The lib/glue.cc provides custom operator new.
Thanks,
Joonwoo
--
To unsubscribe from this list
"rohit h" <[EMAIL PROTECTED]> writes:
> 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?
If you want to use C++ in the kernel you would need to
em. Use plain C and the gcc.
> What kind of runtime support is needed ( arm linux kernel)? Is a
> patch available for it?
Google for "linux kernel c++" and read on - this has been discussed
several times on this list.
Bernd
--
Firmix Software GmbH http:
.
What could the problem be?
What kind of runtime support is needed ( arm linux kernel)? Is a
patch available for it?
Please take a look at click modular router which is using c++ as a
linux kernel module.
http://www.read.cs.ucla.edu/click/
The lib/glue.cc provides custom operator new
and the gcc.
What kind of runtime support is needed ( arm linux kernel)? Is a
patch available for it?
Google for linux kernel c++ and read on - this has been discussed
several times on this list.
Bernd
--
Firmix Software GmbH http://www.firmix.at/
mobil: +43 664 4416156
support is needed ( arm linux kernel)? Is a
patch available for it?
Please take a look at click modular router which is using c++ as a
linux kernel module.
http://www.read.cs.ucla.edu/click/
The lib/glue.cc provides custom operator new.
Uh, let's not make the world worse :)
Just call malloc from
take a look at click modular router which is using c++ as a
linux kernel module.
http://www.read.cs.ucla.edu/click/
The lib/glue.cc provides custom operator new.
Thanks,
Joonwoo
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED
rohit h [EMAIL PROTECTED] writes:
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?
If you want to use C++ in the kernel you would need to provide
all
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
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?
What kind of runtime support is needed ( arm linux kernel)? Is a
patch available for it?
Thanks,
Rohit
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?
What kind of runtime support is needed ( arm linux kernel)? Is a
patch available for it?
Thanks,
Rohit
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
20 matches
Mail list logo