Compile gearmand with icc (ICC v11.x编译Gearmand)

系统已安装: 1. tcmalloc (google-perftools-1.4 ) 2. libmemcached v0.35(v0.30+) 编译gearmand-0.10: tar zxvf gearmand-0.10.tar.gz ./compile-gearman.sh =========gearman.sh===== make distclean CC=icc \ CXX=icpc \ CFLAGS=” -O3 -ip -std=gnu99 -no-prec-div -xSSE3 -axSSE4.2,SSE4.1,SSE3 -static-intel -no-gcc” \ CPPFLAGS=’-I/opt/local/include -Wno-error’ \ LDFLAGS=’-L/opt/local/lib’ \ ./configure \ –prefix=/opt/gearmand \ –enable-tcmalloc \ –disable-libsqlite3 \ –disable-libdrizzle \ –with-libevent-prefix=/opt/local \ –with-libmemcached-prefix=/opt/local make install =======end=== note: 1. 关闭gcc宏定义 2. 打开std gnu99支持 3. -ipo failed

你可能感兴趣的:(gcc,Google)