交叉编译nsq

$ git clone https://github.com/nsqio/nsq $GOPATH/src/github.com/nsqio/nsq
$ cd $GOPATH/src/github.com/nsqio/nsq
$ dep ensure

修改makefile,主要指定目标机系统平台,并指定gcc编译器

$ make

猜你喜欢

转载自www.cnblogs.com/lightblack/p/12616808.html
nsq