[fpc-pascal] building arm cross compiler on FreeBSD

Jonas Maebe jonas.maebe at elis.ugent.be
Sat Jan 9 23:44:36 CET 2016


On 09/01/16 23:27, Marc Santhoff wrote:
> I'm stuck while trying to build a cross compiler for ARM on FreeBSD. The
> compiler does not know any arm target.

The compiler always only knows all targets for a single architecture. 
Unless you have a native ARM or a cross-compiler for ARM, it's normal 
that it doesn't know any ARM targets (just like a native ARM or 
cross-compiler for ARM doesn't know any non-ARM targets).

> FreeBSD is running on some arm
> platforms (e.g. beagleboard), but it seems the combination is not
> implemented in fpc.
>
> Is that correct?

Yes.

> How can I build a build a cross compiler running on FreeBSD compiling
> for ARM?

Try adding OS_TARGET=embedded to your "make all CPU_TARGET=arm" 
invocation in the top level directory (assuming you've set up your 
environment for cross-compiling to embedded).


Jonas


More information about the fpc-pascal mailing list