You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think -mlittle-endian can be omitted in the flags:
on ARMv7 or earlier, specifying endianness might be more relevant, as some older ARM implementations could be big-endian but for ARMv8, little-endian is the standard
you would only need to specify it if you’re working with specific hardware that uses a non-standard endianness, like big-endian, which is rare for ARMv8 (this is not the case for rpi3)
On the other hand I would add -mtune=cortex-a53 since it could provide some optimizations so we can maximize performance. From the GCC docs: -mtune helps the compiler generate more efficient code by optimizing for the characteristics of that particular architecture.
I can't verify this on a rpi3b+ but at least on my rpi3b (v1.2) I haven't had any problems using these flags.
Currently in the
pkgutils
port, we have the following CFLAGS inpkgmk.conf
for the rpi3I think
-mlittle-endian
can be omitted in the flags:On the other hand I would add
-mtune=cortex-a53
since it could provide some optimizations so we can maximize performance. From the GCC docs: -mtune helps the compiler generate more efficient code by optimizing for the characteristics of that particular architecture.I can't verify this on a rpi3b+ but at least on my rpi3b (v1.2) I haven't had any problems using these flags.
Comments? (cc @pitill0)
Flags that I'm using
Output for arminfo.sh
Output for
lscpu
on rpi3bThe text was updated successfully, but these errors were encountered: