Oh sorry, I guess you're familiar with Linux Terminal.
01. cd /usr/share/fpcsrc/3.0.2
02. sudo make clean all OS_TARGET=win32 CPU_TARGET=i386
03. sudo make crossinstall OS_TARGET=win32 CPU_TARGET=i386 INSTALL_PREFIX=/usr
04. sudo ln -sf /usr/lib/fpc/3.0.2/ppcross386 /usr/bin/ppcross386
You should run the steps above using Terminal. You may need to change the path, for example if you're using FPC 2.64 then it should be ..../fpcsrc/2.6.4 and ..../fpc/2.6.4
After you finished the steps above your Lazarus/FPC should be able to generate windows binaries.
But (if you're using Lazarus), you should change your project options. To do it:
Lazarus main menu > Project > Project > Options > Config and Target > Target OS = win32 and Target CPU family = i386
Note:
- You should remove the steps' number: "01.", "02.", "03.", "04."
- I don't familiar with Debian, I use Ubuntu (Debian fork) so I think the path should be same between those OS
- But the path should change if you're using FPC other than version 3.0.2