I have installed fpc-3.2.2-x64-openbsd64 first, I compiled simple console program to display "Hello" with ReadLn() as last instruction.
OpenBSD 7.6 came's with libc.so.100.3 and libpthread.so.27.1 whereas fpc needs libc.so.96.1 and libpthread.so.26.2 (I think). I've made soft links to these libraries.
./test compile & executes, but with crash.
I reinstalled fpc-3.2.2-x32-openbsd64, it even do not run.
Thanks.