User Tools

Site Tools


raspi:raspi_buildopts

Raspberry Pi: Build Options

Some notes on build/compiler stuffs.

BCM2835

The gcc compiler flags which will produce the most optimal code for the BCM2835 are:

-Ofast -mfpu=vfp -mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s

Note that -Ofast may produce compile errors. In this case, -O3 or -O2 should be used instead.

Note that -mcpu=arm1176jzf-s can be used in place of -march=armv6zk -mtune=arm1176jzf-s.

raspi/raspi_buildopts.txt · Last modified: 2023/10/05 09:04 by azman