Re: STL in Kexts
Re: STL in Kexts
- Subject: Re: STL in Kexts
- From: Krishna Monian <email@hidden>
- Date: Wed, 30 Jun 2004 07:25:04 -0700 (PDT)
Templates (my own templated classes) seem to work fine
with kexts. However when I try to use the STL I get
the following errors in XCode.
/usr/lib/gcc/darwin/3.3/libstdc++.a(new_opv.o)
incompatible, file contains unsupported type of
section (__TEXT,__picsymbolstub1) in load command
0(must specify "-dy
/usr/lib/gcc/darwin/3.3/libstdc++.a(del_op.o)
incompatible, file contains unsupported type of
section (__TEXT,__picsymbolstub1) in load command
0(must specify "-dy
And I can't view the remaining part of the error.
I am guessing it is saying I need to add the -dynamic
flag. However, that doesn't seem to help.
Is there any equivalent of the STL "list" or "slist"
in libkern?
Thanks
Krishna
--- Dean Reece <email@hidden> wrote:
>
Krisna,
>
>
Sorry, but templates and STL are not supported in
>
the kernel.
>
You may use the containers in libkern instead
>
(OSString, OSArray,
>
OSDictionary, ...).
>
>
- Dean
>
>
>
On Jun 29, 2004, at 5:14 PM, Krishna Monian wrote:
>
> I was just wondering whether it is possible to use
>
> containers from the STL in a kernel extension.
>
>
>
> If so then are there any special settings that
>
have to
>
> be made under XCode?
>
>
>
> Thanks
>
> Krishna Monian
>
>
__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.