The way of giving the location of libunwind to the configure script of gperftools:
%setenv CFLAGS="-I /path/to/LIBUNWIND/include -L/path/to/LIBUNWIND/lib"
%setenv CXXFLAGS="-I /path/to/LIBUNWIND/include -L/path/to/LIBUNWIND/lib"
%./configure --prefix=/path/to/install
Interestingly, the configure script does not have the option.
https://github.com/gperftools/gperftools
2016年2月3日水曜日
2016年1月27日水曜日
a Chinese tablet maker, Cube, so bad.
I have bought a windows tablet, Cube i7, from So cube in Aliexpress, which seems a direct shop of "cube"(https://www.facebook.com/ACUBEworld/).
Unfortunately, they repeatedly say some illogical thing on my tablet and refuge to replace my tablet. I suggest you not buy their product if you do not want have any risque.
They never fix your problem.
Indeed, they started ignoring my e-mails, and messages from aliexpress.
The product is somehow attractive though.
Store URL:
http://www.aliexpress.com/store/1123249?spm=2114.10010108.0.34.TnqBxg
Unfortunately, they repeatedly say some illogical thing on my tablet and refuge to replace my tablet. I suggest you not buy their product if you do not want have any risque.
They never fix your problem.
Indeed, they started ignoring my e-mails, and messages from aliexpress.
The product is somehow attractive though.
Store URL:
http://www.aliexpress.com/store/1123249?spm=2114.10010108.0.34.TnqBxg
2016年1月20日水曜日
C言語のthread safeかどうかのチェッカー
仕事で必要になった。
https://insights.sei.cmu.edu/sei_blog/2014/10/thread-safety-analysis-in-c-and-c.html
https://insights.sei.cmu.edu/sei_blog/2014/10/thread-safety-analysis-in-c-and-c.html
2016年1月11日月曜日
2015年12月21日月曜日
PythonからCのモジュールを読んでる時のデバッグ方法
% python hoobar.py
して、即座にctrl+zでサスペンド。
%ps aux
とかで、pidを探して
%gdb
(gdb) attach <pid>
(gdb) c
で、デバッガが使える
して、即座にctrl+zでサスペンド。
%ps aux
とかで、pidを探して
%gdb
(gdb) attach <pid>
(gdb) c
で、デバッガが使える
2015年12月16日水曜日
cube i7 stylus
2015年11月29日日曜日
Linuxのディスク(EXT4)をWindowsにマウント
これを使うだけなんだけど。
EXT4でフォーマットしたディスクがwindowsのフォーマットと同じように使える。
http://www.ext2fsd.com/
EXT4でフォーマットしたディスクがwindowsのフォーマットと同じように使える。
http://www.ext2fsd.com/
登録:
投稿 (Atom)


