I am writing an assembly program on Linux. I use this script to cross-compile the assembly to arm :
arm-linux-gnueabihf-gcc -ggdb3 -nostdlib -o main -static main.S
Having a main.S
like this :
.global _start
_start:
.text
FLDS s31,=3.12E-16
However I get errors telling me that flds and fld are not recognized.
I have searching for a bit but I cannot seem to find the source of the problem. I thought about using arm-none-eabi-as
but I get other types of error like garbage after flds
etc.