[Lazarus] [FPC] Cross-compiling target libs
Mattias Gaertner
nc-gaertnma at netcologne.de
Mon Jun 14 19:28:57 CEST 2010
On Mon, 14 Jun 2010 18:49:02 +0200
Kjow <antispammoni at gmail.com> 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 are the target libs.
>
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
Mattias
More information about the Lazarus
mailing list