When compiling a package for the Pi I came across a message like this:
CFLAGS += -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp #-mcpu=cortex-a8
and
CFLAGS += -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard
I know the difference between -march
and -mtunu
, but what is the difference between armv7-a
and arm1176jzf-s
? if I'm looking at a new Pi how do I know what flags and argument I should use?