[fpc-devel] Somewhat cryptic errormesage

Bart bartjunk64 at gmail.com
Thu Apr 2 15:12:32 CEST 2026


Hi,

I got this errormessage when trying to crosscompile (on Windows) to x86_64:

C:\Users\Bart\LazarusProjecten\ConsoleProjecten>fpc test.pas -Px86_64
Error:  can't be executed, error message: Failed to execute """
test.pas", error code: 87
This was using fpc main.

Using fpc 3.2.4RC1 there was no error.

It took me a while to find the problem, but after my last build of
fpcmain I did not build the crosscompiler, so there was no
ppcrossx64.exe.
PEBKAC ...

I would have expected a bit more informative errormessage though,
something like:
Error: ppcrossx64.exe not found.

Should I file a bugreport for this?

-- 
Bart


More information about the fpc-devel mailing list