Lazarus

Installation => General => Topic started by: ensimek on June 30, 2009, 11:02:16 am

Title: compiling win32 application under linux
Post by: ensimek on June 30, 2009, 11:02:16 am
Hi there,
Is it possible to compile target application for windows using ubuntu linux?
I tried to change compilator options to Target Platform: Win32, Target-Arch: i386 but since then i have errors while compiling/opening project such as:
- The system.ppu was not found in FPC directories, be sure fpc is installed correctly and fpc.cfg points to correct directory.

I know that fpc.cfg is correct and thereis a line
-Fu /usr/lib/fpc/2.2.2/i386-linux/rtl

And in this directory system.ppu is located.
Title: Re: compiling win32 application under linux
Post by: Leledumbo on June 30, 2009, 12:11:35 pm
Quote
Is it possible to compile target application for windows using ubuntu linux?
Yes, it is.
Quote
The system.ppu was not found in FPC directories
Common newbie mistake: assuming that cross compilation can be done instantly.
Please read the wiki (http://wiki.lazarus.freepascal.org/Cross_compiling_for_Win32_under_Linux).
TinyPortal © 2005-2018