undefined symbol: rt_finalize
Tolga Cakiroglu
tcak at pcak.com
Thu Feb 27 21:41:03 PST 2014
>
> because there is no finalize. rt_init/rt_term is what you need
>
> https://github.com/D-Programming-Language/druntime/blob/master/src/core/runtime.d#L30
I looked at the `/usr/include/dmd/druntime` folder with `grep
finalize -r`, and it brought me only one file, that is
`object.di`.
When I check `object.di`, I see that rt_finalize is defined as
`extern(C)` and it is called in `destroy` function. Thereby, it
is defined by the DMD itself. So, there is a `finalize`, but even
I am not doing anything special in the code, it is not finding it
while having it in a normal programme.
More information about the Digitalmars-d-learn
mailing list