[Lazarus] [Partially Solved] Cross Compile for arm-linux

Kjow antispammoni at gmail.com
Fri Dec 11 20:02:21 CET 2009


2009/12/11 Mattias Gaertner <nc-gaertnma at netcologne.de>:
> You forgot the -Fu option.

Which path I need to use?
I have lazarus (source/bin) in /home/kjow/lazarus/

> Have you compiled the LCL for arm?

I tried with:

make lcl LCL_PLATFORM=gtk2 CPU_TARGET=arm OS_TARGET=linux
CROSSBINDIR=/home/kjow/lazarus/fpc/binutils/
FPC=/usr/lib/fpc/2.5.1/ppcrossarm OPT="-CfSOFT -Xd -Sd"

...
...
Free Pascal Compiler version 2.5.1 [2009/12/11] for arm
Copyright (c) 1993-2009 by Florian Klaempfl
Target OS: Linux for ARM
Compiling interfaces.pas
Assembling interfaces
43 lines compiled, 0.2 sec
make[3]: Leaving directory `/home/kjow/lazarus/lcl/interfaces/gtk2'
make[2]: Leaving directory `/home/kjow/lazarus/lcl/interfaces'
make[1]: Leaving directory `/home/kjow/lazarus/lcl'


But I don't know if it is right.

Thank you very much!




More information about the Lazarus mailing list