goahead交叉编译调试

选择嵌入式交叉编译工具 /usr/local/arm-2014.05/bin/arm-none-linux-gnueabi-gcc

azan@ubuntu:~/nwjzq/nwddu/goahead-5.1.1$ make CC=/usr/local/arm-2014.05/bin/arm-none-linux-gnueabi-gcc ARCH=arm
make --no-print-directory -f projects/goahead-linux-default.mk all
      [Info] Use make SHOW=1 to trace executed commands.
   [Warning] Make flags have changed since the last build
   [Warning] Previous build command: s --no-print-directory -- CC=arm-none-linux-gnueabi-gcc ARCH=arm
   [Compile] build/linux-arm-default/obj/mbedtls.o
      [Link] build/linux-arm-default/bin/libmbedtls.a
      [Copy] build/linux-arm-default/inc/goahead.h
   [Compile] build/linux-arm-default/obj/goahead-mbedtls.o
      [Link] build/linux-arm-default/bin/libgoahead-mbedtls.a
      [Copy] build/linux-arm-default/inc/js.h
   [Compile] build/linux-arm-default/obj/action.o
   [Compile] build/linux-arm-default/obj/alloc.o
   [Compile] build/linux-arm-default/obj/auth.o
   [Compile] build/linux-arm-default/obj/cgi.o
   [Compile] build/linux-arm-default/obj/crypt.o
   [Compile] build/linux-arm-default/obj/file.o
   [Compile] build/linux-arm-default/obj/fs.o
   [Compile] build/linux-arm-default/obj/http.o
   [Compile] build/linux-arm-default/obj/js.o
   [Compile] build/linux-arm-default/obj/jst.o
   [Compile] build/linux-arm-default/obj/options.o
   [Compile] build/linux-arm-default/obj/osdep.o
   [Compile] build/linux-arm-default/obj/rom.o
   [Compile] build/linux-arm-default/obj/route.o
   [Compile] build/linux-arm-default/obj/runtime.o
   [Compile] build/linux-arm-default/obj/socket.o
   [Compile] build/linux-arm-default/obj/time.o
   [Compile] build/linux-arm-default/obj/upload.o
      [Link] build/linux-arm-default/bin/libgo.so
      [Copy] build/linux-arm-default/bin
   [Compile] build/linux-arm-default/obj/goahead.o
      [Link] build/linux-arm-default/bin/goahead
   [Compile] build/linux-arm-default/obj/test.o
      [Link] build/linux-arm-default/bin/goahead-test
   [Compile] build/linux-arm-default/obj/gopass.o
      [Link] build/linux-arm-default/bin/gopass

You can now install via "sudo make  -- ARCH=arm CC=/usr/local/arm-2014.05/bin/arm-none-linux-gnueabi-gcc install" or run GoAhead via: "sudo make run"
To run locally, put linux-arm-default/bin in your path

azan@ubuntu:~/nwjzq/nwddu/goahead-5.1.1$ cd build
azan@ubuntu:~/nwjzq/nwddu/goahead-5.1.1/build$ ls
linux-arm-default
上一篇:Web服务器-正则表达式-正则其他(3.1.3)


下一篇:Java使用正则表达式匹配多行 Pattern flags