On Mon, 14 Jun 2010 18:49:02 +0200
Kjow <[email protected]> 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

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to