make install 會 Error,說 strip error
原因是install 這個tool用到host 的strip,這個解決方法比較....
查到 install --help,有..
--strip-program=PROGRAM的option,所以修改每一個有 target: install 的 Makefile...
結果這一篇也有說。
--- a/configure 2018-01-19 19:27:18.000000000 -0500
+++ b/configure 2018-03-14 19:18:39.136573491 -0400
@@ -13716,7 +13716,7 @@
if test "$with_stripping" = yes
then
- INSTALL_OPT_S="-s"
+ INSTALL_OPT_S="-s --strip-program=${STRIP}"
else
INSTALL_OPT_S=
fi
他修改configure,吃 STRIP 這個環境變數。同時,所有Makefile 都會改到。
這樣改完,重新 configure 後,6.1 的 make install 沒問題了。
6.2 還有問題,是 color 什嗎的問題,還沒解決..
沒有留言:
張貼留言