Writting SO kernel in D
Frits van Bommel
fvbommel at REMwOVExCAPSs.nl
Thu Apr 19 11:43:39 PDT 2007
Sean Kelly wrote:
> Javi wrote:
>>
>> Another question: Where is the runtime code localted on disk? And If
>> this code resides in a big file, how can I extract only the relevant
>> routines?
>> Sorry, but I'm not a compiler expert.
>
> It's in Phobos in the /internal directory. Under that is the /gc
> directory, which contains the garbage collector implementation.
>
> If you're using Tango, the compiler runtime is in /lib/compiler/gdc or
> /lib/compiler/dmd, and the garbage collector is in /lib/gc/basic.
And since he's using GDC[1] some of it is in d/phobos/gcc/ in the GDC
source tree, or include/d/*/gcc/ in the installed version. Specifically,
look at deh.d for exceptions.
[1]: and presumably not Tango, since he's coding a kernel. Though he
could of course use that version just as well.
More information about the Digitalmars-d-learn
mailing list