On Fri, 06 Mar 2009, Szak�ts Viktor wrote:
> It doesn't seem to be enough, and no wonder, if LTCG is handling functions
> separately, we cannot use such
> method to pull the complete .obj it's residing in.
> Maybe moving stuff inside these ANNOUNCE functions
> could work, but I don't know how to do that.

As I expected.
First try to check what MSVC exactly does.
It's possible that it also strips startup initialization code.
Set default GT to GTSTD.
Add to hvm.c[7514] just after:
   hb_vmVerifyPCodeVersion( szModuleName, uiPCodeVer );
this code:
   printf("registering module: `%s`\n", szModuleName);fflush(stdout);

and check if startup code is executed and modules are registers.
Please make this test for two versions: pure C build (/TC) and C++
build (/TP). It's possible that the behavior will be different.
It will give basic information about farther modifications.

best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to