how to install lazarus for windows (svn trunk) in wine? lazarus / 3-General ---------------------------------------------------------------------- Robson · 2011-02-13 15:00 I use Ubuntu 10.10 can someone help me? ---------------------------------------------------------------------- Leledumbo · 2011-02-13 17:15 Why use wine when you can directly compile for Windows (with a littel effort) from your Linux version of Lazarus? Just open your terminal, cd to fpc source/rtl and source/packages directory and type the following (in each directory, rtl first): Code: [Select]make all OS_TARGET=win32 make install OS_TARGET=win32 INSTALL_PREFIX= Then, in your Lazarus, open Tools->Configure Build Lazarus, set everything but LCL to none, set LCL to Clean+Build, set LCL Widget Type to Win32/64, Build. Done. Now you can compile for Win32 just by changing Target OS and LCL Widget Type in compiler option dialog. ---------------------------------------------------------------------- asdf · 2011-02-14 01:27 On the other hand, I've never touched linux. I will memorize Leledumbo's advise to use in the near future. After I finish the commecial project, I will distribute it in all platforms. Thanks a ton  . ---------------------------------------------------------------------- Robson · 2011-02-14 08:48 Quote from: Leledumbo on February 13, 2011, 06:15:46 pmWhy use wine when you can directly compile for Windows (with a littel effort) from your Linux version of Lazarus? Just open your terminal, cd to fpc source/rtl and source/packages directory and type the following (in each directory, rtl first): Code: [Select]make all OS_TARGET=win32 make install OS_TARGET=win32 INSTALL_PREFIX= Then, in your Lazarus, open Tools->Configure Build Lazarus, set everything but LCL to none, set LCL to Clean+Build, set LCL Widget Type to Win32/64, Build. Done. Now you can compile for Win32 just by changing Target OS and LCL Widget Type in compiler option dialog. Thanks