Re: [Lazarus] FPC cross compiling

2012-03-26 Thread Sven Barth
Am 26.03.2012 15:38, schrieb Antonio Fortuny: Le 26/03/2012 10:21, Sven Barth a écrit : I would do a "make all CPU_TARGET=i386" at the top level of the fpc source directory (you need to have full FPC sources for compilation). Then you can do a "make crossinstall CPU_TARGET=i386" When you've

Re: [Lazarus] FPC cross compiling

2012-03-26 Thread Antonio Fortuny
Le 26/03/2012 10:21, Sven Barth a écrit : I would do a "make all CPU_TARGET=i386" at the top level of the fpc source directory (you need to have full FPC sources for compilation). Then you can do a "make crossinstall CPU_TARGET=i386" When you've done this please report back whether your sit

Re: [Lazarus] FPC cross compiling

2012-03-26 Thread Sven Barth
Am 26.03.2012 09:52, schrieb Antonio Fortuny: Hi all. I want to turn my current Lazarus installation to cross-compile for Linux. The current environment is: - openSuse 12.1 x86_64 - FPC 2.4.4 x86_64 - Lazarus 0.9.31 x86_64 I want to compile for Linux i386 too. I have dowloaded & installed ppc38

[Lazarus] FPC cross compiling

2012-03-26 Thread Antonio Fortuny
Hi all. I want to turn my current Lazarus installation to cross-compile for Linux. The current environment is: - openSuse 12.1 x86_64 - FPC 2.4.4 x86_64 - Lazarus 0.9.31 x86_64 I want to compile for Linux i386 too. I have dowloaded & installed ppc386 and compiled fpc basics using: 0. # cd /usr

Re: [Lazarus] [FPC] Cross-compiling target libs

2010-06-14 Thread Kjow
2010/6/14 Mattias Gaertner : > You wrote the solution yourself: > >> On Lazarus I use "Project/Compiler Options/Linking/Options (-k): >> -L/home/user/lazarus/fpc/libcross" and it is ok. > > fpc -Tlinux -Parm -k-L/home/user/lazarus/fpc/libcross/ SDLDemo.pas Thank you! I was in wrong, because I putt

Re: [Lazarus] [FPC] Cross-compiling target libs

2010-06-14 Thread Mattias Gaertner
On Mon, 14 Jun 2010 18:49:02 +0200 Kjow wrote: > Hi! > I want to compile on Linux an SDL demo for arm by command line. > > No problem for Windows and Linux targets, it compiles and the build > runs well. But when I try to cross-compile for arm I can't find the > right option to tell to fpc where

[Lazarus] [FPC] Cross-compiling target libs

2010-06-14 Thread Kjow
Hi! I want to compile on Linux an SDL demo for arm by command line. No problem for Windows and Linux targets, it compiles and the build runs well. But when I try to cross-compile for arm I can't find the right option to tell to fpc where are the target libs. On Lazarus I use "Project/Compiler Opt