zoukankan      html  css  js  c++  java
  • 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
  • 相关阅读:
    Samba 4.0 RC3 发布
    SymmetricDS 3.1.7 发布,数据同步和复制
    Express.js 3.0 发布,Node.js 的高性能封装
    GIFLIB 5.0.1 发布,C语言的GIF处理库
    jQuery UI 1.9.1 发布
    SVN Access Manager 0.5.5.14 发布 SVN 管理工具
    DynamicReports 3.0.3 发布 Java 报表工具
    HttpComponents HttpClient 4.2.2 GA 发布
    AppCan 2.0 正式发布,推移动应用云服务
    Ruby 2.0 的新功能已经冻结
  • 原文地址:https://www.cnblogs.com/zengjfgit/p/6596841.html
Copyright © 2011-2022 走看看