Yes, I already tried that.
Compiles ok, but gives the following warning
"ld.exe: cannot find entry simbol _mainCRTstartup; defaulting to 00401000"
It seems that the FPC can only produce win32 binaries, changing the target doesnt seem to work. The final executable size is diferent from the win32 .exe, but doest run in Linux. Also if I change the file extension to .exe I able to run it in windows XP, but only console window appears, and then the program hangs.