摘要:
这是因为编译.o文件时没有一起生成调试信息,应该在makefile中的编译命令中制定-g参数,如下: 1 sort:main.o bubble.o 2 gcc -o sort main.o bubble.o 3 4 main.o:main.c bubble.h 5 gcc -g -c main.c 阅读全文
摘要:
一、安装Home brew terminal中输入: localhost:~ shikaixun$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 效 阅读全文