libphobos as .so?
Tom Demmer
t_demmer at web.de
Fri Jun 22 23:51:38 PDT 2007
BCS Wrote:
> Reply to Tom,
>
[...]
>
> are you sure you are building with the correct versions and stuff, IIRC D/Linux
> and D/win32 use very different exception handling. If the common entry point
> actually is extern(Windows) I would say this is a bug. throw is not performance
> critical, wrap it in an extern(C) alternatively, why can't dmd/linux use
> different names for the built-ins than dmd/win32.
>
It is listed in the "official" linux.mak, and a comment says "Exception handling support for linux", so yes, I think it is the right file :-)
Wrapping into extern(C) does not help: The compiler emits a call to "_d_throw at 4" whenever he has to construct a throw.
But you may have a point that this code should not go into an .so anyway, because the stack may look different.
Ciao
Tom
More information about the Digitalmars-d
mailing list