That is correct, it starts up fine, I can use the pull down menus.. but it gives me the error as soon as I try to compile anything.
What is the proper way to recompile the IDE? I didn't compile it to start off with, I used FPCupDeluxe from https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/tag/1.6.2x to compile the x86_64-Win64 package I don't know what a win64 GDB is either. Can you point me in the right direction? James -----Original Message----- From: fpc-pascal <fpc-pascal-boun...@lists.freepascal.org> On Behalf Of Pierre Muller Sent: Wednesday, August 7, 2019 8:07 AM To: fpc-pascal@lists.freepascal.org Subject: Re: [fpc-pascal] FP.exe error in x86_64-Win64 I misunderstood your previous problem, it only crashes when you try to compile the source, not at startup... Did you ever try to debug a program on Win64? Now is the time to try: you will need a win64 GDB and recompile the IDE using -gw option. The important GDB option here is set win32 new-console on This will create a new Console when you start the IDE. As it seems that the IDE generated an access-violation, you should directly see that in the GDB console and be able to get a back-trace (udsing GDB 'bt' command) which would help to understand where the problem is coming from. Pierre Le 07/08/2019 à 13:59, James Richters a écrit : > 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@lists.freepascal.org > https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal > _______________________________________________ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal > _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal