Is there a gcc compiler under ARM? -
i know if want compile program arm device need special version of gcc runs under x86 , compiles arm (cross compiling) there way compile arm under arm?
if happy compile source, recent version of gcc can built natively on arm device, targeting arm device. dependencies compile gcc , size of code base might give difficulties, regularly build up-to-date gcc development branch on raspberry pi 2.
follow instructions at: https://gcc.gnu.org/install/ prerequisites need, , when configuring compiler use like:
--with-cpu=cortex-a15 --with-float=hard --with-fpu=neon --with-mode=thumb
modifying --with-cpu
, --with-fpu
options required system.
if looking prebuilt binaries, distributions (and debian , ubuntu) run on arm provide package can install, x86 systems.
Comments
Post a Comment