Hardware Reference
In-Depth Information
Appendix d
ARM Compile Options
For ARM platform compiles, the following site makes compiler option recommendations:
http://elinux.org/RPi_Software .
The site states the following:
gcc compiler flags that produce the most optimal code for the
Raspberry Pi are as follows:
The
Ofast - mfpu=vfp - mfloat - abi=hard - march=armv6zk
- mtune=arm1176jzf - s
-
Ofast may produce compile errors. In these
cases, -O3 or -O2 should be used instead.
For some programs, -
-mcpu=arm1176jzf-s can be used in place of -march=armv6zk
-mtune=arm1176jzf-s .
 
Search WWH ::




Custom Search