perhaps apt-get have a stripped version of fpc.
I think so, too. Now I have installed the following packages (in the same order as written below) with apt-get install ./<filename>
- fpc_3.0.0-151205_amd64.deb
- fpc-src_3.0.0-151205_amd64.deb
- lazarus_1.6-0_amd64.deb
Now I have the same files like you and could run the commands from the tutorial page (
http://wiki.lazarus.freepascal.org/Cross_compiling_for_Win32_under_Linux), too.
After building the files for win32 and win64, I added the three lines to /etc/fpc.cfg.
Now I can compile for win64, but not for win32. If I select win32, I get an error, that the current FPC has no configuration file, som units might not be found and I should check my FPC-installation.
I tried my win64 application on a Windows 10 x64 notebook, but I got the error message, that th program could not be started because libgdk_pixbuf-2.0-0.dll (libgtk-win32-2.0-0.dll, libgdk-win32-2.0-0.dll, libobject-2.0-0.dll ) is missing. I am wondering why I got this message because I set the LCL-Widgetset to Win32. I changed the LCL-Widgetset to "qt", but I got the same error.
Any hints for my "new" problems? ... building win32 application and running them under Windows OS?