Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    求D1开发板交叉编译器的使用命令

    MR Series
    2
    3
    1873
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      March LV 5 last edited by

      已经在PC机安装好开发环境,安装好tina-d1-open/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc目录下的交叉编译工具链,但是不清楚其编译使用的命令是什么,比如Ubuntu下自带的GCC编译器使用的命令是“gcc”

      whycan 1 Reply Last reply Reply Quote Share 0
      • whycan
        whycan晕哥 LV 9 @March last edited by

        @march prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/bin/riscv64-unknown-linux-gnu-gcc

        whycan 1 Reply Last reply Reply Quote Share 0
        • whycan
          whycan晕哥 LV 9 @whycan last edited by

          @whycan 或者ubuntu 用 sudo apt install gcc-riscv64-linux-gnu 命令安装,

          riscv64-linux-gnu-gcc -static 静态链接应用程序就可以跑.

          参考这里: https://whycan.com/t_6417.html#p62761

          1 Reply Last reply Reply Quote Share 0
          • 1 / 1
          • First post
            Last post

          Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

          行为准则 | 用户协议 | 隐私权政策