02-19-2020, 08:01 AM
Hi Tim
I have just recently started building programs on a Raspberry Pi 4 that are also meant to work on the Pi Zero. All I have been doing is including the following in CPPFLAGS
I know some people use additional flags, but I haven't investigated which flags are necessary (depending on the program) and which are optimisations.
Adrian.
I have just recently started building programs on a Raspberry Pi 4 that are also meant to work on the Pi Zero. All I have been doing is including the following in CPPFLAGS
Code:
-march=armv6 -mfpu=vfp
I know some people use additional flags, but I haven't investigated which flags are necessary (depending on the program) and which are optimisations.
Adrian.