交叉编译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

 

posted @ 2020-04-01 23:28  生蚝是只猫  阅读(211)  评论(0)    收藏  举报