• MorphOS Developer
    itix
    Posts: 1516 from 2003/2/24
    From: Finland
    @nine

    It is part of newlib startup code. It just compares ExecBase pointer (passed as 3rd parameter to _main()) to AbsExecBase pointer. If they dont match startup code quits silently. This works against current OS4Emu release because fake ExecBase is passed to _main().

    There is no option to turn it off but this code is only part of OS4 SDK available to beta testers. OTOH old newlib startup code had OS4Emu check but it was easier to fix because it relied on OS calls.

    It will be interesting to see if startup code changes to the final SDK.

    CLIB2 startup code doesnt have such checks and it would be useless since CLIB2 is open source project.
    1 + 1 = 3 with very large values of 1
  • »26.03.07 - 14:26
    Profile