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
{{ message }}
Repository navigation
which cross compiler can i use on raspberry pi 2? #792
on raspberry pi 1 B,
I used gcc-4.7-linaro-rpi-gnueabihf.tbz as a cross compile for qt.
but on raspberry pi 2, which cross compiler can i use, gcc-4.7-linaro-rpi-gnueabihf.tbz was configed for arm11, it should not work for raspberry pi 2.
Activity
popcornmix commentedon Feb 4, 2015
An arm11 target will work fine (and allows the library to be used on both Pi1 and Pi2 (like rest of raspbian).
If you to force a Pi2 only build then -mcpu=cortex-a7 is the right flag.
You may also want to play with -mfpu=neon-vfpv4
zaazbb commentedon Feb 5, 2015
thanks