FPC program won't run on stock 1200 UAE VM

MarcusF · 2881

MarcusF

  • Junior Member
  • **
    • Posts: 55
    • Karma: +11/-0
on: November 21, 2025, 01:46:10 PM
Hoping someone here's great with the compiler.

I've run into an issue where the program I cross-compile will run on the boosted machines, the A4000 vm, but not the 600 or 1200 stock VM's.
No errors when I run it. It just seems to pause for a moment, no output, then back to the CLI.

FPC and Lazarus installed with FPCUpDeluxe, cross compiler for Amiga 68k also installed with FPCUpDeluxe.

Tested by compiling to a shared directory mounted to all the VMs to ensure the same binary is tested on all machines.

ALB's online/JS compiler outputs a hello world that DOES run on all the machines tested.

I've no idea what difference there is between his and mine.

Tested all sorts of settings, not sure what to change at this point :(



magorium

  • Moderator
  • Legendary Member
  • *****
    • Posts: 634
    • Karma: +62/-0
  • Convicted non contributor
Reply #1 on: December 25, 2025, 08:35:32 PM
Apologies Markus, as I just noticed your post (IRL sux sometimes).

Do you mean a simple hello world from ALB's online compiler work for these VM's while your compiled hello world doesn't ?

First things to verify is memory (especially Lazarus requires to much for a stock Amiga so better boost it) and difference in compiler version (in case there is any). I am aware that there were a few changes regarding m68k in trunk couple of months ago so that might have an impact.

I rarely test on/for m68k these days (I probably should with all new hw).

Happy Holidays,



In order to be able to verify for sure following information is required:
- fpc compiler version (hash in case trunk/main otherwise version number and in case fixes also fixes date)
- binutils version number and which binutils were used e.g gnu vs v(link/asm)
- amigaos (kernel/rom/os) version number (I would need to setup such vm myself)

FPC 3.2.2 with a simple helloworld worked for me with no problem (but that doesn't mean anything these days anymore :-) ).
« Last Edit: December 27, 2025, 08:51:05 PM by magorium »



magorium

  • Moderator
  • Legendary Member
  • *****
    • Posts: 634
    • Karma: +62/-0
  • Convicted non contributor
Reply #2 on: December 29, 2025, 09:23:01 PM
Attached image not exactly from a stock 1200 VM but almost (I've added 8 MB fastram).

I've used latest amiberry and fpc trunk from yesterday. The only other odd thing out was that my script used an older vasm (I forgot to remove the version numbering so did not test with latest vasm release though I do not expect issues but feel free to let me know to test with another version of either vasm or vlink ... or with whatever is your poison :) .

I've also attached the m68k hello world src+executable so that you could check if wanted.

edit: oh well, apparently attachments are using a forbidden resource or something. Just gimme a shout and we figure something out.