DELAEMON BLOG

Live as if you were to die tomorrow. Learn as if you were to live forever.

2016-02-01から1ヶ月間の記事一覧

Clojure Leiningen

Clojureことはじめ"Leiningen is the easiest way to use Clojure. With a focus on project automation and declarative configuration, it gets out of your way and lets you focus on your code." Leiningenleiningen をインストール $ brew install lei…

valgrind on Fedora22

Valgrind is an instrumentation framework for building dynamic analysis tools. Valgrind Homeインストール $ sudo dnf install valgrind メモリリーク検出 $ valgrind --leak-check=full ./fib ==4784== Memcheck, a memory error detector ==4784== Co…

perf on Fedora22

perf: Linux profiling with performance counters Perf Wikiインストール $ sudo dnf isntall perf てきとうなコードを用意 $ gcc fib.c -o fib イベント数を取得 $ perf stat ./fib 832040 failed to read counter stalled-cycles-frontend failed to read…

Build coreutils on Fedora22

Fedora22上にcoreutilsをビルドする。コードを用意して、./bootstrapを実行すると、必要なパッケージがわかる git clone git@github.com:coreutils/coreutils.git cd coreutils ./bootstrap ./bootstrap: line 424: autoconf: command not found ./bootstrap…