"Zhang Lin" <zhanglin0714@xxxxxxx> writes: > I downloaded the six packages > binutils-2.21.tar.gz > gcc-core-4.5.1.tar.gz > gcc-g++-4.5.1.tar.gz > gmp-5.0.1.tar.gz > mpc-0.8.2.tar.gz > mpfr-2.4.2.tar.gz > and uncompressed them. Then I moved the binutils, gmp, mpc and mpfr > directory under gcc. This approach generally does not work because the shared directories like include and libiberty are not precisely compatible. That said: > The Makefile was generated successfully, but when I executed make all command I got an error "can not find ar under host-mingw32/binutils". > I've found the ar.exe under host-mingw32/binutils/host-mingw32/binutils, so is there something I've done incorrect or is there a way to correct the error? This sounds more like a mingw specific issue, and you would probably do better to ask on a mingw list. Ian