mkdir megahit
cd megahit/
git clone https://github.com/voutcn/megahit.git .
brew install gcc@4.9
export CPLUS_INCLUDE_PATH=CPLUS_INCLUDE_PATH:/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include
make CXX=/usr/local/Cellar/gcc@4.9/4.9.4_1/bin/g++-4.9
网友评论