新しくMinGW環境を作る
gcc-4.5とvimとgitが使える綺麗な環境を作ろうとして難航。
msysのパッケージ自体は、
http://www.up-cat.net/MinGW%25C7%25AD%25B2%25CA%25B8%25A6%25B5%25E6%25BD%25EA%25A5%25D1%25A5%25C3%25A5%25AF.html
を使うことに決定。
libpngのバージョンが上って旧URLが使えないのでlist/mingwplus.txtを手直し
http://jaist.dl.sourceforge.net/project/libpng/libpng14/1.4.4/libpng-1.4.4.tar.xz libpng-1.4.4.tar.xz
50_integrate_msysGit.bat
でwgetが無いと怒られるので
wgetとwgetが依存するopensslを手でmsysにインストール
http://sourceforge.net/projects/mingw/files/MSYS/
http://friendfeed.com/pegiminh/baf62bb4/mingw-msyswget-msys-crypto-1-0-dll-cryptopenssl?embed=1
とりあえずインストール完了。
TERMとSHELL整備
http://code.google.com/p/mintty/
mintty-0.9.3-msys.zipのmintty.exeを
C:/msys/binに投入。
適当にシートカットを作成して、
# 引数 /bin/bash --login -i # ディレクトリ %USERPROFILE%
mintty設定
%USERPROFILE%/.inputrc
set input-meta on set output-meta on set convert-meta off "\C-p": history-search-backward "\C-n": history-search-forward
%USERPROFILE%/.bash_profile
if [ -e "$HOME/.bashrc" ];then source "$HOME/.bashrc" fi
%USERPROFILE%/.bashrc
alias ls='ls --show-control-chars --color=auto' alias vi='vim'