[fpc-pascal] FP.exe error in x86_64-Win64
James Richters
james at productionautomation.net
Wed Aug 7 13:59:19 CEST 2019
I deleted all files that start with FP so it would have to make new ones and tried to compile:
Writeln('Hello World!');
And it did not work.. it has the exact same error.
James
-----Original Message-----
Hi,
Le 07/08/2019 à 13:17, James Richters a écrit :
> I’m trying to use FPC3.0.4 for x86_64-win64.
>
> I built it with:
> https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/tag/1.6.2x
> - fpcupdeluxe-x86_64-win64.exe
>
>
>
> I am trying to use the Text IDE using the same FP.CFG FP.INI and
> FP.DSK that worked with the i368-win32 version…
>
> When I try to compile a program I Instantly get:
>
>
>
> Program generated a RTE 217
>
> at address $0000000000000000.
>
> Save your sources and restart the IDE.
The problem is that the DSK file is a binary file which has a format that makes it impossible to use the same file on different targets.
the win64 IDE will assume that some fields have a length of 8 bytes, while the win32 IDE saved those fields using a 4 byte slot.
This leads to complete incompatibility between win32 and win64 IDE.
Try to rename the win64 IDE to something like fp64.exe
In that case, IIRC, the executable should look for fp64.cfg, fp64.ini and fp64.dsk and avoid the problem above.
Could you please tell us if this solution works, because I am not 100% sure anymore this is the solution...
Pierre
_______________________________________________
fpc-pascal maillist - fpc-pascal at lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
More information about the fpc-pascal
mailing list