49 | | |
50 | | = C/C++ = |
51 | | * [http://d.hatena.ne.jp/yohei-a/20101110/1289410003 ファイルがページキャッシュに乗っているかどうかを調べる - ablog] |
52 | | * [http://www.pushaa.jp/~hizuki/soft/wiki.cgi?cygwin%A4%C7Windows%A5%A2%A5%D7%A5%EA%A4%F2%BA%EE%A4%EB%A4%BF%A4%E1%A4%CE%A5%E1%A5%E2 cygwinでWindowsアプリを作るためのメモ - cygwinを使って、] |
53 | | * [http://research.preferred.jp/2010/12/wat-array/ wat-array : wavelet木を利用した高速配列処理ライブラリ : Preferred Research Blog] |
54 | | * via twitter:iwiwi/status/15788763305222144 |
55 | | * [http://d.hatena.ne.jp/bsdhouse/20090720/1248085754 そろそろvolatileについて一言いっておくか - yamasaのネタ帳] |
56 | | * via twitter:Flast_RO/status/16853894420238336 |
57 | | * [http://funini.com/kei/mmap/ mmap (メモリマップトファイル) : kei@sodan] |
58 | | * via twitter:nooyosh/status/36771691048730624 |
59 | | * [http://ufcpp.net/study/csharp/sp2_microthread.html (サンプル) イテレータとマイクロスレッド (C# によるプログラミング入門)] |
60 | | * [http://yasu2.prosou.nu/blog/2010/01/mmap-howto.html mmap() HOWTO - Debuggin' Everyday] |
61 | | * [http://blog-ja.intransient.info/2011/05/c-13.html Success is a Journey, not a Destination: 全てのCプログラマが未定義な振る舞いについて知っておくべきこと #1/3] |
62 | | * [http://code.google.com/p/address-sanitizer/ address-sanitizer - AddressSanitizer: a fast memory error detector - Google Project Hosting] |
63 | | * [http://blog.bitmeister.jp/?p=365 TAPデバイスでIPv6パケットキャプチャ] |
64 | | * [http://stackoverflow.com/questions/15393838/how-do-i-unpack-and-extract-data-properly-using-msgpack-c serialization - How do I unpack and extract data properly using msgpack-c? - Stack Overflow] |
65 | | * [http://stackoverflow.com/questions/12431441/messagepack-c-api/12581029 msgpack - MessagePack C API - Stack Overflow] |
66 | | |
67 | | == build 32bit object on x64 == |
68 | | * [http://ankyo.blog.so-net.ne.jp/2010-06-19 【Ubuntu】 Ubuntu 64bit版 で 32bitのライブラリやアプリをコンパイルする環境設定(覚書):なんでもかんでもコンピュータ:So-netブログ] |
69 | | {{{ |
70 | | sudo apt-get install ia32-libs lib32gcc1 lib32stdc++6 libc6-dev-i386 gcc-multilib |
71 | | gcc -m32 -o hello32 hello.c |
72 | | }}} |
125 | | |
126 | | = Fail Safe C = |
127 | | * [http://staff.aist.go.jp/y.oiwa/FailSafeC/ Fail-Safe C: Top Page] |
128 | | |
129 | | * Ubuntu 12.04 LTS x86_64 |
130 | | * mitty@precise:~$ sudo aptitude install ocaml-nox ocaml-native-compilers ocaml-findlib libextlib-ocaml-dev camlp4 libgc-dev libgdbm-dev |
131 | | {{{ |
132 | | The following NEW packages will be installed: |
133 | | camlp4 ledit{a} libextlib-ocaml{a} libextlib-ocaml-dev |
134 | | libfindlib-ocaml{a} libfindlib-ocaml-dev{a} libgc-dev libgc1c2{a} |
135 | | libgdbm-dev ocaml-base-nox{a} ocaml-findlib ocaml-interp{a} |
136 | | ocaml-native-compilers ocaml-nox |
137 | | 0 packages upgraded, 14 newly installed, 0 to remove and 0 not upgraded. |
138 | | Need to get 31.6 MB of archives. After unpacking 106 MB will be used. |
139 | | }}} |
140 | | * mitty@precise:~$ svn co https://svn.rcis.jp/FailSafeC/pub/trunk FailSafeC-trunk |
141 | | {{{ |
142 | | Checked out revision 2255. |
143 | | }}} |
144 | | |
145 | | == fix version getter script == |
146 | | * mitty@precise:~/FailSafeC-trunk$ vim tools/disthelpers/svn-get-revision.pl |
147 | | {{{#!diff |
148 | | Index: tools/disthelpers/svn-get-revision.pl |
149 | | =================================================================== |
150 | | --- tools/disthelpers/svn-get-revision.pl (revision 2255) |
151 | | +++ tools/disthelpers/svn-get-revision.pl (working copy) |
152 | | @@ -9,7 +9,7 @@ |
153 | | while (<F>) { |
154 | | # 123456 1234567890 12345678 123456789012 |
155 | | # A + - 1723 yutaka local-packaging/debian-dir |
156 | | - /(^[AMDR\+ \?]{6}) ([ \-\d]{10}) ([ \-\d\?]{8}) .{12} (..*)$/ or die "cannot parse svn output: \"$_\"\n "; |
157 | | + /(^[AMDR\+ \?]{7}) ([ \-\d]{10}) ([ \-\d\?]{8}) .{12} (..*)$/ or die "cannot parse svn output: \"$_\"\n "; |
158 | | $fname = $4; |
159 | | $frev = $3 + 0; |
160 | | # print $_; |
161 | | }}} |
162 | | * mitty@precise:~/FailSafeC-trunk$ ./tools/disthelpers/svn-get-revision.pl |
163 | | {{{ |
164 | | 2255+20120602T162127Z |
165 | | }}} |
166 | | |
167 | | * mitty@precise:~/FailSafeC-trunk$ ./configure |
168 | | * mitty@precise:~/FailSafeC-trunk$ make |
169 | | * mitty@precise:~/FailSafeC-trunk$ sudo make install |