appweb 7.0.2版本編譯

 下載地址:linux

https://github.com/embedthis/appweb/releasesgit

 

1,編譯時首先更換makefile ,因爲我須要不使用動態庫的版本,因此選擇靜態的這個makefilegithub

把projects/appweb-linux-static.mk 拷貝一份 projects/appweb-linux-armstatic.mk,而後修改projects/appweb-linux-armstatic.mk裏面的編譯器和增長 web

LD                    = arm-hisiv300-linux-ldapp

2,假如ME_COM_ESP            ?= 1 選項選上了 ,編譯會報一個文件找不到的錯誤,不要緊,把這個cache/server.c和下面調用部分屏蔽掉就能正確的向下進行。this


ME_COM_CGI ?= 1
ME_COM_COMPILER ?= 0
ME_COM_DIR ?= 0
ME_COM_EJS ?= 0
ME_COM_ESP ?= 1
ME_COM_HTTP ?= 1
ME_COM_LIB ?= 0
ME_COM_MATRIXSSL ?= 0
ME_COM_MBEDTLS ?= 0
ME_COM_MDB ?= 0
ME_COM_MPR ?= 0
ME_COM_NANOSSL ?= 0
ME_COM_OPENSSL ?= 0
ME_COM_OSDEP ?= 0
ME_COM_PCRE ?= 1
ME_COM_PHP ?= 0
ME_COM_SSL ?= 0
ME_COM_VXWORKS ?= 0
ME_COM_WATCHDOG ?= 1server

假如 ME_COM_ESP            ?= 0 就會出現 cannot find -lmpr-version的錯誤。編譯器

這樣編出的版本就沒有動態庫了。it

相關文章
相關標籤/搜索