macos 10.9.2
用brew instal pcre
然后再configure的时候报了错
./configure --with-cc-opt="-I/usr/local/Cellar/pcre/8.35/include" --with-ld-opt="-L/usr/local/Cellar/pcre/8.35/lib"
platform: macosx (darwin)
cp -rp bundle/ build
cd build
cd LuaJIT-2.1-20140330
make TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit
==== Building LuaJIT 2.1.0-alpha ====
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C src
HOSTCC host/minilua.o
HOSTLINK host/minilua
ld: library not found for -lgcc_ext.10.4
collect2: error: ld returned 1 exit status
make[1]: *** [host/minilua] Error 1
make: *** [default] Error 2
ERROR: failed to run command: make TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit
应该这个lib没找到
library not found for -lgcc_ext.10.4
我本机应该是有gcc
gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-apple-darwin11.3.0/4.8.0/lto-wrapper
Target: x86_64-apple-darwin11.3.0
Configured with: ../gcc-4.8-20120408/configure --enable-languages=fortran
Thread model: posix
gcc version 4.8.0 20120408 (experimental) (GCC)
请问这个如何破呢?