涙目でUbuntu9.04
XP Modeも、coLinuxをサービスとして起動しておいて・・・
という用途ではどうなんだろうという感じだったので、久しぶりに脱Win
flex bison omake cmake scons vim emacs sqlite3 apt-file wine emerald scim anthy subversion mercurial libaio このへんをとりあえずapt-get
gccはlambda branchで。
zlib.hが見当たらない等、お馴染みのエラーが見れるので、apt-file search filenameで該当パッケージ検索
operaでflashが適切に見れるようになるまで、若干はまる
結果として、opera-amd64+flash10-amd64を/usr/lib/opera/plugins/に配置で落ち着く。
libevent googletest tokyocabinet boostらへんは手動でmake && make install
% cd v8 % scons arch=x64 ...
arch=x64でエラーがたんまり出力される。
ちょぼちょぼ直してて気づくのが、あきらかに実装されていない箇所が、多すぎること。
こ、これは・・・!
Google グループ ナルホド
gcc/configure --disable-multilibはちょいまだ厳しい
32bit版(arch指定なし)なら問題なし
% ../binutils-2.19/configure --target=i386-mingw32 --prefix=/usr/local ... libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../binutils-2.19/bfd -I. -I. -I../../binutils-2.19/bfd -I../../binutils-2.19/bfd/../include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c ../../binutils-2.19/bfd/elf.c -o elf.o cc1: warnings being treated as errors ../../binutils-2.19/bfd/elf.c: In function '_bfd_elf_print_private_bfd_data': ../../binutils-2.19/bfd/elf.c:1236: error: offset '2' outside bounds of constant string ../../binutils-2.19/bfd/elf.c:1236: error: offset '3' outside bounds of constant string % ../binutils-2.19/configure --target=i386-mingw32 --prefix=/usr/local --disable-werror ...
TODO: QtCreatorでc++0xを使うために、makeへCXXOPTS=-std=c++0xを渡したが、それがg++まで伝播しない alias g++ g++ -std=c++0xとかするべきか