如何设置sysroot以供Nsight(GDB)使用

时间:2019-06-26 17:49:03

标签: eclipse gdb remote-debugging nsight

我正在使用Nsight调试从主机(Ubuntu)到Jetson机器(目标)的项目。我收到警告说将sysroot设置为在本地访问文件。我将文件系统从Jetson复制到主机。我尝试使用命令窗口将sysroot设置为副本的路径,但是得到了相同的警告。

如何设置sysroot?

以下是警告:

Coalescing of the CUDA commands output is off.
warning: "remote:" is deprecated, use "target:" instead.
warning: sysroot set to "target://".
Reading /lib/ld-linux-aarch64.so.1 from remote target...
warning: File transfers from remote targets can be slow. Use "set sysroot" to access files locally instead.
Reading /lib/ld-linux-aarch64.so.1 from remote target...
Reading /lib/ld-2.27.so from remote target...

0 个答案:

没有答案