On 23/03/2013 00:24, Kai Tietz wrote:
> 2013/3/23 Dave Korn <dave.korn.cyg...@gmail.com>:
>> On 23/03/2013 00:16, Kai Tietz wrote:
>>
>>> welcome, too.  It would be even better if we could rethink actual the
>>> need of loading java-library within libgcc's cygwin's/mingw's crtbegin
>>> at all.  I am actual not that sure, if we need this at all.
>>
>>   Somebody has to register the default classes at startup, or attempts to
>> classload them will fail.
>>
>>     cheers,
>>       DaveK
> 
> Right, but shouldn't that be done by libjava-DLL itself on loading
> (and deregistration on unloading)?  I see no good point to add this
> into a different dll?  But well, I might miss here an important point.

  Well, libgcc is always there, and libjava doesn't have any specific hooks
where we could add startup code, which is why all targets do it by default in
libgcc/crtstuff.c along with the C++ default ctor stuff.

    cheers,
      DaveK

Reply via email to