You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
我尝试下载了这个源代码,然后执行下面的命令进行编译,但是最终的到的./gdb/gdb程序是个X86_64上的gdb,不是我想要的在玄铁处理器上能跑的gdb。请问正确的操作时什么?
./configure --target=riscv --with-sysroot=/home/xxx/Xuantie-900-gcc-linux-5.10.4-glibc-x86_64-V2.6.1/sysroot
make
=======below is compiled gdb for your reference ========================
xxx@user-OptiPlex-5090:~/xuantie/binutils-gdb-xuantie-binutils-gdb-2.32$ file ./gdb/gdb
./gdb/gdb: ELF 64-bit LSB pie executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=e33b0fc807302620100a4e7a007b8f3d33e7f540, for GNU/Linux 3.2.0, with debug_info, not stripped
Thanks!
The text was updated successfully, but these errors were encountered:
我尝试下载了这个源代码,然后执行下面的命令进行编译,但是最终的到的./gdb/gdb程序是个X86_64上的gdb,不是我想要的在玄铁处理器上能跑的gdb。请问正确的操作时什么?
./configure --target=riscv --with-sysroot=/home/xxx/Xuantie-900-gcc-linux-5.10.4-glibc-x86_64-V2.6.1/sysroot
make
=======below is compiled gdb for your reference ========================
xxx@user-OptiPlex-5090:~/xuantie/binutils-gdb-xuantie-binutils-gdb-2.32$ file ./gdb/gdb
./gdb/gdb: ELF 64-bit LSB pie executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=e33b0fc807302620100a4e7a007b8f3d33e7f540, for GNU/Linux 3.2.0, with debug_info, not stripped
Thanks!
The text was updated successfully, but these errors were encountered: