[fpc-devel] Arm Hardfloat
Den Jean
Den.Jean at telenet.be
Fri Oct 5 01:18:59 CEST 2012
On Friday 05 October 2012 00:12:46 Thomas Schatzl wrote:
> (note the additional "-s" param) and paste the resulting ppas.bat after
> it fails here? The line that invokes gas should use the correct gas. And
> it should have a correct "--march=armv7-a" parameter.
$ cat ppas.sh
#!/bin/sh
DoExitAsm ()
{ echo "An error occurred while assembling $1"; exit 1; }
DoExitLink ()
{ echo "An error occurred while linking $1"; exit 1; }
echo Assembling fpmake
/usr/bin/as -mfloat-abi=hard -meabi=5 -march=armv7-a -mfpu=vfpv3-d16 -o fpmake.o fpmake.s
if [ $? != 0 ]; then DoExitAsm fpmake; fi
rm fpmake.s
echo Linking fpmake
OFS=$IFS
IFS="
"
/usr/bin/ld --dynamic-linker=/lib/ld-linux-armhf.so.3 --gc-sections -L. -o fpmake link.res
if [ $? != 0 ]; then DoExitLink fpmake; fi
IFS=$OFS
More information about the fpc-devel
mailing list