月: 2008年5月
Klöden 勝った!
去年のツールのドーピングスキャンダル以来、散々な目に遭わされているアスタナ。
でも、勝った!いいね。
がんばれー
McEwen も不調から抜け出した模様。
もうすぐ Giro がやってくる。夏だなー。
連休
うひー、仕事が山積みです。今日は大学にはいかないけど。
明日は行くんだろうな…
binutils-2.18 build problem on MacOS X
I have installed binutils-2.17 for i386-pc-mingw32 on my MacBook and iMac, and now going to try x86_64-pc-mingw32 (MinGW-W64). However, binutils-2.17 doesn’t support x86_64-pc-mingw32.
So I tried to build binutils-2.18. But… failed. While building target “bfd”, make fails because “makeinfo is missing.”
I have makeinfo-4.11 in /opt/local/bin. Why?
The reason was that makeinfo-4.11 is too new to binuitls. MacOS X has makeinfo-4.8 in /usr/bin, so I changed my PATH, and gave priority to /usr/bin/makeinfo. Then I’ve done with:
% ../binutils-2.18/configure –prefix=/Users/yasu/mingw64 –target=x86_64-pc-mingw32 –with-build-time-tools=/opt/local/bin
% make
% make check
Boost その後
Crosscompiling Boost C++ library with MinGW libraries (on MacOS X): updated.
I have:
– MinGW toolkit (gcc and binutils) and libraries in /Users/yasu/mingw/
– GTK and related libraries including ZLIB and BZ2LIB in /Users/yasu/mingw/GTK/
– bjam for MacOS X, installed by MacPorts
I need:
– boost-regex
– boost-iostreams
– boost-filesystem
And here’s how I got them:
% cd boost_1_35_0
% vi tools/build/v2
using gcc : 4.2 : i386-pc-mingw32-g++-4.2.1 : <compileflags>-I/Users/yasu/mingw/GTK/include <linkflags>-L/Users/yasu/mingw/GTK/lib ;
% bjam -sTOOLS=gcc -sGXX=g++ –with-regex –with-filesystem –with-iostreams install –prefix=/Users/yasu/mingw –build-type=complete
Mmm, bjam syntax is something cool, but difficult for me…
And just one more thing, we need to run runlib prior to use the libraries. For example:
% i386-pc-mingw32-ranlib libboost_regex-mgw42.a