Skip to content

Instantly share code, notes, and snippets.

@rchatsiri
Created June 25, 2016 16:17
Show Gist options
  • Select an option

  • Save rchatsiri/79a0548f5665e739526193fb17d31280 to your computer and use it in GitHub Desktop.

Select an option

Save rchatsiri/79a0548f5665e739526193fb17d31280 to your computer and use it in GitHub Desktop.
Script comiles folly
CXX=g++-4.8 ./configure --enable-shared LDFLAGS="-L/home/chatsiri/workspacecpp/gtest-1.6.0/lib -L/home/chatsiri/sda1/workspacecpp/boost_1_57_0/stage/lib -L/usr/lib64 -L/home/chatsiri/sda1/workspacecpp/google-glog/build/lib -L
/home/chatsiri/sda1/workspacecpp/gflags/build/lib" CPPFLAGS="-I/home/chatsiri/workspacecpp/gtest-1.6.0/include -I/home/chatsiri/sda1/workspacecpp/boost_1_57_0 -I/home/chatsiri/sda1/workspacecpp/google-glog/build/include -I/hom
e/chatsiri/sda1/workspacecpp/gflags/build/include" --with-boost=/home/chatsiri/sda1/workspacecpp/boost_1_57_0/ --with-boost-libdir=/home/chatsiri/sda1/workspacecpp/boost_1_57_0/stage/lib --with-boost-thread=boost_thread-mt --
with-boost-regex=boost_regex --with-boost-system=boost_system-mt --with-boost-filesystem=boost_filesystem-mt CXXFLAGS="-fPIC"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment