Sorry I can't help with Lazarus as I use Delphi or Kylix for my coding and then I use FPC via command line on both Win32 and Linux to test compilation and that the resulting exes work.