Le 20 avr. 04, à 02:16, Alexandre Julliard a écrit :
emmanuel maillard e.rsz@libertysurf.fr writes:
init() fini() and end are not part of mach-o. Initialisation are already call by dlopen and previous version from pierre make recall initialisation stuff for all dlls each time you load one. So __wine_register_dll_16 failed due to assertion.
But your way won't work right either, because we need to intercept constructors and run them from the dll entry point, which is the point of the init/fini stuff we are doing there. So you will need to adapt that for whatever constructor mechanism mach-o is using.
My way work (at least enought to run WineLib apps), i test it and others people too. For now this is this the only way i find to have Wine work on Darwin. But i'm agree, we need to have a better mach-o support.
emmanuel