[fpc-devel] Arm Hardfloat

Sven Barth pascaldragon at googlemail.com
Thu Oct 4 21:57:38 CEST 2012


On 04.10.2012 21:04, Den Jean wrote:
> On Thursday 04 October 2012 20:40:23 Florian Klämpfl wrote:
>> At least -dFPC_ARMHF shouldn't be a cross opt.
> Thx for the info
>
> extracts Makefile.fpc:
>
> <snip>
> #####################################################################
> # Cycle targets
> <snip>
> # 3. Source CPU <> Target CPU
> #    First source native compiler
> #    Second cross compiler
> #    Third target native compiler (skipped for cross installation)
> #
> #####################################################################
>
> <snip>
>
> So with
> make all CPU_TARGET=arm CROSSOPT="-Aas -O- -CaEABIHF -CfVFPV3_D16 -Cparmv7a"
> BINUTILSPREFIX=arm-linux-gnu- INSTALL_PREFIX=/usr
>
>   I do get an arm native compiler

You still need OPT="-dFPC_ARMHF". That's what Florian ment with 
"shouldn't be a cross opt".

Regards,
Sven




More information about the fpc-devel mailing list