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

コメントを残す