On Montag, 7. Februar 2022 09:46:50 CET Karoly Balogh wrote:
> Does it also happen, when you compile everything for the 68020?
> (-Cp68020)

Nice, that's it. Compiling everything for 68020, and it works. Thats strange. 
But that also explains why it worked a few days ago, because the default has 
changed only recently.

>if a similar problem also occurs with simpler examples.

The printenv test runs normally, only crashes at the end (when i remove the 
pterm0). The simple hello works without problems, i think it does not use any 
strings at all.

>I saw you added a default linker script for the aoutmint format

Yes, that is required if you want to produce mintaout format. Because vlink is 
invoked with a linker script, it does not use its own default. The one that i 
added is the same as used by vlink.

>who knows what the OS exe loader makes of that later
>on. Going to guess that MiNT and SingleTOS uses a different loader?

For the OS, there is no difference. Both formats can be run both on TOS and 
MiNT. 
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to