On Thu, 2007-08-02 at 18:51 -0400, Tony Maro wrote:

> I created a simple console app and ran the following at a command
> line:
> 
> ppcarm -Xd -Sd -XParm-linux- project1.lpr
> 
> Worked like a charm.
> 
> Placing those options in the "additional options" for the compiler
> options in Lazarus also works, though setting processor to "arm" and
> os to "linux" didn't do it for me.  I have no clue what those params
> mean - copied it off a website.
> 
> I'm unclear of how to get the LCL built for ARM... if I try this to
> build any GUI app, it won't link, complaining about an incompatible
> crtbegin.o


Well I got past that with a few #ifdef in the fpc.cfg.

Now I'm stuck on:

Compiling project1.lpr
Assembling project1
Linking project1
/usr/local/bin/arm-linux-ld: cannot find -lpthread
project1.lpr(19) Error: Error while linking

Reply via email to