Hello,
I am trying to set up my lazarus to both create linux64 and crosscompile to win32 executables.
I have managed to follow the instructions here:
http://wiki.lazarus.freepascal.org/Cross_compiling_for_Win32_under_Linuxand here:
http://wiki.lazarus.freepascal.org/Cross_compilingalbeit with some horrible pitfalls which I will later detail so that others don't fall into them. However now I am stuck with building the lazarus win32 components and library when I try to in /usr/lib/lazarus:
sudo make clean all OS_TARGET=win32 CPU_TARGET=i386
I get the following error:
Error: ppc386 can't be executed, error message: Failed to execute "ppc386", error code: 127
I have ppc386.exe in my /home/x/cross_fpc directory which was created when compiling fpc for win32 and I tried copying it to /usr/bin where fpc is (which really doesn't make sense since I think ppc386 is a windows executable).
What I am missing?