I am building arm-eabi-gcc
with gcc 6.3.0 source, to target the Atmel AT91SAM9G45 processor.
What should I use for the cpu
/ arch
/ tune
flags when configuring the gcc build?
Using --with-arch=armv9
returns Unknown arch used
. It appears to accept --with-cpu=armv9
, and not passing an arch
flag, but I'm not sure if this is right for this particular CPU. It also accepts --with-cpu=arm9
and I'm not sure what the difference between the two is, or if either is right for my CPU.
Also, what should I use for the --with-fpu
option? My software will not be using any floating point operations so I am using --with-float=hard
, but I don't know what to do for the fpu option in this case.