https://blog.csdn.net/cocoonyang/article/details/48135515
/Od /D _DEBUG /Zi
https://blog.csdn.net/cocoonyang/article/details/48135515
/Od /D _DEBUG /Zi
export LUAJIT_INC=/usr/local/Cellar/luajit/2.0.5/include/luajit-2.0/
export LUAJIT_LIB=/usr/local/Cellar/luajit/2.0.5/lib
./configure --prefix=/Users/roger/bin/nginx-1.14.2 --with-select_module --with-poll_module --with-http_geoip_module --with-debug --add-module=/Users/roger/source/nginx-1.14.2/myModule/post_handler --add-module=/Users/roger/source/nginx-1.14.2/myModule/helloWord --with-ld-opt="-Wl,-rpath,/usr/local/Cellar/luajit/2.0.5/lib" \
--add-module=/Users/roger/source/nginx-1.14.2/ngx_devel_kit \
--add-module=/Users/roger/source/nginx-1.14.2/lua-nginx-module
汇总:网页起了个iframe,请求xxx.321fenx.com,xxx是随机的。该二级域名并不存在,所以浏览器和ISP均不可能缓存这个域名。ISP最终只好根据321fenx.com域名的NS记录去询问对应的DNS,于是ISP向网易的DNS发起了请求,所以网易就拿到了ISP的IP地址。但是这个IP,不一定是用户设置的DNS的IP。
A记录是名称解析的重要记录,它用于将特定的主机名映射到对应主机的IP地址上。你可以在DNS服务器中手动创建或通过DNS客户端动态更新来创建。
NS记录此记录指定负责此DNS区域的权威名称服务器。
A记录和NS记录的区别是,A记录直接给出目的IP,NS记录将DNS解析任务交给特定的服务器,NS记录中记录的IP即为该特定服务器的IP地址。
-ferror-limit=0
-precious-files-regex regex Prevents removal of files from the temporary output directory whose names match this regular expression. You might specify ‘.bbg?$’ to keep those files created with gcc -ftest-coverage for example. https://www.gnu.org/software/libtool/manual/html_node/Link-mode.html
CPPFLAGS="$CPPFLAGS -coverage -Wall -fprofile-arcs"
In a vanilla gnu make, there's no such thing as CCFLAGS. There are CFLAGS, CPPFLAGS, and CXXFLAGS. CFLAGS for the C compiler, CXXFLAGS for C++, and CPPFLAGS for both.
php-ext coverage .m4
CPPFLAGS="$CPPFLAGS -coverage -Wall -fprofile-arcs"
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -precious-files-regex '.*(gcda|gcno)'"
sudo mdutil -a -i off
preg_match_all("#(?<!:)//(.*)|/\*(\s|.)*?\*/#", $file, $str, PREG_OFFSET_CAPTURE);
./configure --enable-embed
会有众多报错:
clang: error: no such file or directory: 'ext/date/php_date.o'
clang: error: no such file or directory: 'ext/date/lib/astro.o'
clang: error: no such file or directory: 'ext/date/lib/dow.o'
clang: error: no such file or directory: 'ext/date/lib/parse_date.o'
clang: error: no such file or directory: 'ext/date/lib/parse_tz.o'