摘要: 这是因为编译.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 阅读全文
posted @ 2018-06-30 20:55 smileshitou 阅读(3778) 评论(0) 推荐(0) 编辑
摘要: 一、安装Home brew terminal中输入: localhost:~ shikaixun$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 效 阅读全文
posted @ 2018-06-30 16:39 smileshitou 阅读(299) 评论(0) 推荐(0) 编辑