gcc-arm-linux-gnueabi command not found

前端 未结 11 932
轮回少年
轮回少年 2020-12-13 00:50

I am trying to install the gnu arm toolchain for ubuntu. I first downloaded the tar from CodeSourcery. However when I go into the bin folder, I cannot run any of the binarie

11条回答
  •  借酒劲吻你
    2020-12-13 01:19

    If you are on a 64bit build of ubuntu or debian (see e.g. 'cat /proc/version') you should simply use the 64bit cross compilers, if you cloned

    git clone https://github.com/raspberrypi/tools
    

    then the 64bit tools are in

    tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64
    

    use that directory for the gcc-toolchain. A useful tutorial for compiling that I followed is available here Building and compiling Raspberry PI Kernel (use the -x64 path from above as ${CCPREFIX})

提交回复
热议问题