[fpc-pascal] PPUMove usage, follow-up: it works on Linux.

Jonas Maebe jonas.maebe at elis.ugent.be
Sun Aug 15 13:11:40 CEST 2010

On 15 Aug 2010, at 13:08, tcoq at free.fr wrote:

> Trying the ppumove procedure on an Ubuntu platform works perfectly.
> I used the same test.pp code.
> It compiled with "fpc -Cg" and produced test.o and a test.ppu files.
> the "ppumove -o test -e ppl test.ppu produced a test.ppl and a libtest.so file
> correctly. I still need to check if the code executes, but a least the shared
> library is built on Linux.
> I don't know why the same procedure doesn't work on Windows. Is it a problem
> with the way I configure FPC? or LD? Has anyone tested ppumove on windows?

In general, creating a (non-DDL-style) shared library with FPC is currently not supported on any platform. There are still some patches in the bug tracker that I have to apply to fix the Linux support (http://bugs.freepascal.org/view.php?id=12492), but in general this functionality
a) was never finished
b) has not been tested


More information about the fpc-pascal mailing list