• Ubuntu 安装arm-linux-gcc编译器


    /**********************************************************************************
     *                      Ubuntu 安装arm-linux-gcc编译器
     * 说明:
     *     Ubuntu下直接安装arm-linux-gcc编译器,省得去配置那些环境。
     *
     *                                           2017-3-21 深圳 南山平山村 曾剑锋
     *********************************************************************************/
    
    一、参考文档:
        Install the ARM cross compiler toolchain on your Linux Ubuntu PC
            https://www.acmesystems.it/arm9_toolchain
    
    二、查找支持armhf的软件包名:
        zengjf@zengjf:~/zengjf/zengjfos/busybox/busybox-1.26.2$ sudo apt-cache search arm | grep gcc | grep armhf
        gcc-arm-linux-gnueabihf - GNU C compiler for the armhf architecture
        libgcc-6-dev-armhf-cross - GCC support library (development files)
        libgcc1-armhf-cross - GCC support library
        gcc-multilib-arm-linux-gnueabihf - GNU C compiler for the armhf architecture
        gccgo-arm-linux-gnueabihf - Go compiler (based on GCC) for the armhf architecture
        libgcc-4.7-dev-armhf-cross - GCC support library (development files)
        libgcc-4.9-dev-armhf-cross - GCC support library (development files)
        libgcc-5-dev-armhf-cross - GCC support library (development files)
        libgcc1-dbg-armhf-cross - GCC support library (debug symbols)
        libsfgcc-4.7-dev-armhf-cross - GCC support library (soft float ABI development files)
        libsfgcc-4.9-dev-armhf-cross - GCC support library (soft float ABI development files)
        libsfgcc-5-dev-armhf-cross - GCC support library (soft float ABI development files)
        libsfgcc-6-dev-armhf-cross - GCC support library (soft float ABI development files)
        libsfgcc1-armhf-cross - GCC support library (soft float ABI)
        libsfgcc1-dbg-armhf-cross - GCC support library (debug symbols)
    
    三、安装命令:
        1. sudo apt-get install gcc-arm-linux-gnueabihf
        2. 安装结果:
            zengjf@zengjf:~/zengjf/zengjfos/busybox/busybox-1.26.2$ arm
            arm2hpdl                          arm-linux-gnueabihf-gcc           arm-linux-gnueabihf-gcov-6        arm-linux-gnueabihf-objdump
            arm-linux-gnueabihf-addr2line     arm-linux-gnueabihf-gcc-6         arm-linux-gnueabihf-gcov-tool     arm-linux-gnueabihf-ranlib
            arm-linux-gnueabihf-ar            arm-linux-gnueabihf-gcc-ar        arm-linux-gnueabihf-gcov-tool-6   arm-linux-gnueabihf-readelf
            arm-linux-gnueabihf-as            arm-linux-gnueabihf-gcc-ar-6      arm-linux-gnueabihf-gprof         arm-linux-gnueabihf-size
            arm-linux-gnueabihf-c++filt       arm-linux-gnueabihf-gcc-nm        arm-linux-gnueabihf-ld            arm-linux-gnueabihf-strings
            arm-linux-gnueabihf-cpp           arm-linux-gnueabihf-gcc-nm-6      arm-linux-gnueabihf-ld.bfd        arm-linux-gnueabihf-strip
            arm-linux-gnueabihf-cpp-6         arm-linux-gnueabihf-gcc-ranlib    arm-linux-gnueabihf-ld.gold       
            arm-linux-gnueabihf-dwp           arm-linux-gnueabihf-gcc-ranlib-6  arm-linux-gnueabihf-nm            
            arm-linux-gnueabihf-elfedit       arm-linux-gnueabihf-gcov          arm-linux-gnueabihf-objcopy
  • 相关阅读:
    Ubuntu下一个openldapserver部署步骤
    秀球技:倒和其他无用
    POJ1201-Intervals(差动限制)
    Scrapy研究和探索(七)——如何防止被ban大集合策略
    word 一些有用的技巧
    Java设计模式偷跑系列(十二)组合模式建模和实现
    Sql使用视图(简单的视图)适合入门-level
    cocos2d 缓存池 对象的再利用
    txt 开关 csv 可通用 工具
    使用SharePoint创建和定义自己的网站页面
  • 原文地址:https://www.cnblogs.com/zengjfgit/p/6596841.html
Copyright © 2020-2023  润新知