摘要:
sudo apt-get install nfs-kernel-server$sudo gedit /etc/exports/home/ *(rw,sync,no_root_squash)$ sudo /etc/init.d/nfs-kernel-server restart$sudo mount 192.168.1.160:/home /nfs192.168.1.160是服务器ip 阅读全文
摘要:
gdbserverUsage: gdbserver [OPTIONS] COMM PROG [ARGS ...] gdbserver [OPTIONS] --attach COMM PID gdbserver [OPTIONS] --multi COMMCOMM may either be a tty device (for serial debugging), orHOST:PORT to listen for a TCP connection.gdbserver 127.0.0.1:1234gdbtarget remote127.0.0.1:1234 阅读全文
摘要:
gdb和arm-elf-gdb只是针对的目标平台不一样gdb 是This GDB was configured as "i686-pc-linux-gnu" 本机平台arm-elf-gdb 是This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-elf". 目标平台是 arm-elf的编译命令./configure --target=arm-elfmake 阅读全文
摘要:
error: ignoring return value of是一个警告来的,意思是忽略的返回值,因为打开了-Werror编译选项,就会把警告当错误处理解决办法:WERROR_CFLAGS = #-Werror或者试一下./configure--disable-werror 阅读全文