[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Mintlib based Software running under plain TOS
On Sun, 2011-01-09 at 12:28 +0100, m0n0 wrote:
> Hello all,
>
> I have a question about compatibility of Programs that are linked to
> the Mintlib.
> With an simple hello world app it works OK to run these Programs under
> plain TOS. But at which point does compatibility break? Is there some
> rule(s)?
>
> I wanted to see if NetSurf can be run under plain TOS / MagiC etc. but
> it results in an illegal instruction. Haven't figured out at which
> point, but it looks like it happens really early... (I bet 15$ that it
> hits the illegal instruction before entering main ;) ). I couldn't
> invetigate this really further until now...
> In the meantime, I wanted to ask here what could break compatibility
> with plain tos, even if the error that I see is an special case, I guess
> that there are some more issues.
There's lots of stuff which can break. There's no easy way to tell
because there lots of code in MiNTlib which can't be emulated with TOS
functionality. I think it's a case of get GDB out and find out where
it's crashing. How is the OS portability layer dealt with in NetSurf as
I can see it runs on RiscOS too, so it's worth checking what calls are
made there first, but only after finding out where it's currently
crashing.
All