GitHubの分子動力学法・ステップ・バイ・ステップに星がついたのをきっかけに、 少しだけREADMEを修正した。こういう、自分でも書いたのを忘れたようなものに「いいね」がつくとうれしい。
git clone https://github.com/gperftools/gperftools.git
cd gperftools
./autogen.sh
./configure --prefix=$HOME/local
make install
export LD_LIBRARY_PATH=$HOME/local/lib:$LD_LIBRARY_PATH
g++ -std=c++11 -L$HOME/local/lib -ltcmalloc -g test.cpp
K
git clone https://github.com/gperftools/gperftools.git
cd gperftools
./autogen.sh
./configure --prefix=$HOME/local --with-CC=fccpx --with-CXX=FCCpx --with-CFLAGS=-Xg --with-CPPFLAGS=-Xg
ダメだ。tcmallocのクロスコンパイルが面倒すぎる。諦めよう・・・。