行动…Don\'t ever let somebody tell you, you can\'t do something. you got a dream, you gotta protect it. people can\'t do something themselves they wanna tell you you can\'t do it.if you want something. go get it.
分类: LINUX
2021-12-08 17:26:42
# NOTE: link the curent working copy of the code to lmon.c for compiling
CFLAGS=-g -O3 -Wall
LDFLAGS=-lncurses -lm
FILE=lmon.c
FILE=lmon16j.c
### loongson
nmon_mips64el_loongson: $(FILE)
cc -o nmon_mips64el_loongson $(FILE) $(CFLAGS) $(LDFLAGS) -D mips64el
3.保存文件后用: make 编译,生成文件。
4.若提示有冲突包可以先卸载,编译nmon后再安装。
5.编译后生成的工具,可以直接拷贝到同样架构的系统里使用。