On 20-05-2012 18:20, Alex Rønne Petersen wrote:
On 20-05-2012 10:41, Denis Shelomovskij wrote:
Looks like `_STI_monitor_staticctor` is called by C runtime on Windows.
And C runtime isn't open-source.

It creates troubles for investigation druntime (for me at least). Why is
it so? Why not to call everything in C `main`, what's the reason?

If there is no list of stuff done before C `main` druntime isn't
open-source for me because I can't understand what is taking place just
with druntime sources.


Huh? It's perfectly open source. Read src/rt/monitor.c.


Seems like I misunderstood what you were saying. Right, the C runtime on *Windows* is closed source. But, I don't know why you think that function is called by the C runtime; see src/rt/dmain2.d.

--
Alex Rønne Petersen
a...@lycus.org
http://lycus.org

Reply via email to