Code: Select all
cat /proc/cpuinfo Code: Select all
gcc -march=native -Q --help=target -v - </dev/nullCode: Select all
gcc -mcpu=native -Q --help=target -v - </dev/nullCode: Select all
-mcpu=arm1176jzf-sCode: Select all
gcc -march=native -Q --help=target -v - </dev/nulltry setting all 3, it shouldn't hurtnecktwi wrote:If i stick in -mcpu=arm1176jzf-s in CFLAGS then emerge says
[bug=]-mcpu=arm1176jzf-s conflicts with -march=armv6j[/bug]
says -march=armv6zkCode: Select all
gcc -march=native -Q --help=target -v - </dev/null
to rice, should I set -mcpu=arm1176jz-s and -march=armv6zk? or is it same as setting -march=native -mcpu=native or not mentioning -march and -mcpu defaults to native or rpi?
I understand that -mcpu and -march are necessary on crossdev to rice.
Code: Select all
gcc -mcpu=native -Q --help=target -v - </dev/nullCode: Select all
(RPi1B2):~ # cat /proc/cpuinfo
processor : 0
model name : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS : 697.95
Features : half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xb76
CPU revision : 7
Hardware : BCM2835
Revision : 000e
Serial : 00000000a674e968