查看: 903|回复: 0
收起左侧

Install RISC-V Toolchain in Centos, need these tools

[复制链接]

  离线 

  • TA的每日心情
    奋斗
    2021-3-3 12:32
  • 签到天数: 10 天

    [LV.3]

    发表于 2020-8-24 10:03:23 | 显示全部楼层 |阅读模式

    有人预言,RISC-V或将是继Intel和Arm之后的第三大主流处理器体系。欢迎访问全球首家只专注于RISC-V单片机行业应用的中文网站

    您需要 登录 才可以下载或查看,没有帐号?立即注册

    x
    本帖最后由 皋陶 于 2021-11-18 19:56 编辑

    手动安装m4, autoconf, automake, libtool
    1. Install RISC-V Toolchain in Centos, need these tools ...

    2. please postar the previous link when you copy it.

    3. Copy the next content into a shell script, and run it.
    复制代码

    #安装m4

    1. wget http://mirrors.kernel.org/gnu/m4/m4-1.4.18.tar.gz \
    2. && tar -xzvf m4-1.4.18.tar.gz \
    3. && cd m4-1.4.18 \
    4. && ./configure -prefix=/usr/local
    5. make && make install
    6. cd ..
    复制代码

    #安装autoconf

    1. wget http://mirrors.kernel.org/gnu/autoconf/autoconf-2.69.tar.gz \
    2. && tar -xzvf autoconf-2.69.tar.gz \
    3. && cd autoconf-2.69 \
    4. && ./configure -prefix=/usr/local
    5. make && make install
    6. cd ..

    7. #安装automake(update the version)

    8. #don't use 1.16 version, there is a bug in it;
    9. #wget http://mirrors.kernel.org/gnu/automake/automake-1.16.tar.gz\
    10. #&& tar xzvf  automake-1.16.tar.gz\
    11. #&& cd automake-1.16 \
    12. #&& ./configure -prefix=/usr/local

    13. #sed -i 's/$(update_mans) automake-$(APIVERSION)/$(update_mans) automake-$(APIVERSION) --no-discard-stderr/' Makefile
    14. #make && make install
    15. #cd ..

    16. #when make error, reference the webpage:
    17. #https://blog.csdn.net/weixin_33950035/article/details/85996757

    18. wget http://mirrors.kernel.org/gnu/automake/automake-1.15.tar.gz \
    19. && tar xzvf  automake-1.15.tar.gz \
    20. && cd automake-1.15 \
    21. && ./configure -prefix=/usr/local

    22. make && make install
    23. cd ..
    复制代码

    #安装libtool

    1. wget http://mirrors.kernel.org/gnu/libtool/libtool-2.4.5.tar.gz \
    2. && tar xzvf libtool-2.4.5.tar.gz \
    3. && cd libtool-2.4.5 \
    4. && ./configure -prefix=/usr/local
    5. make && make install
    6. cd ..
    复制代码

    本篇完,感谢关注:RISC-V单片机中文网




    上一篇:兆易创新推出RISC-V架构的GD32VF103,这是MCU界的“小欢喜”
    下一篇:一文看懂RISC-V:异构IoT时代全新架构
    RISCV作者优文
    全球首家只专注于RISC-V单片机行业应用的中文网站
    回复

    使用道具 举报

    高级模式
    B Color Image Link Quote Code Smilies

    本版积分规则

    关闭

    RISC-V单片机中文网上一条 /2 下一条



    版权及免责声明|RISC-V单片机中文网 |网站地图

    GMT+8, 2024-3-28 20:40 , Processed in 0.401686 second(s), 45 queries .

    快速回复 返回顶部 返回列表