Hi
I'd be very grateful if someone could clear up my confusion: I've been looking at the FPC wiki, and I've read lots of other related messages on different discussion forums, but I still haven't been able to figure out exactly what needs to be done to configure Lazarus for cross-compiling.
I'm using the most recent Lazarus release (Win32 0.9.28.2 beta - with FPC 2.2.4) and I have the
ppcrossx64.exe binary (in the Lazarus\FPC\bin\ directory), but I think I understand from what I've read that this compiler needs to rebuild some or all RTL/LCL files in order to create a 64-bit executable.
The
FPC wiki says
Win32 To Win64
If you are compiling the 2.1.1 or greater branch of fpc you can just do:
$ make all OS_TARGET=win64 CPU_TARGET=x86_64
and then
$ make crossinstall OS_TARGET=win64 CPU_TARGET=x86_64
...I'm having trouble figuring out whether all of the files necessary for this are supplied in the FPC directory of the Lazarus install folder. I've tried calling make with the arguments above from the
$(lazarus)\fpc\2.2.4\source\rtl directory, where a
make file resides, but that ultimately fails with a
Fatal: Unknown compilerproc "fpc_char_to_uchar".
...error.
I'd really appreciate it if someone could put me on the right track.