Hi, We have built a MinGW H8 toolchain using gcc-4.2-20080402, binutils-2.18.50 and newlib-1.16.0. The following command did not give the expected output on Vista OS for this toolchain, Command: h8300-elf-gcc -print-prog-name=cc1 Output: cc1 Expected Result: $(TCINSTALL)/h8300-elf/bin/../libexec/gcc/h8300-elf/4.2- GNUH8_v0802/cc1.exe where, $(TCINSTALL) is the toolchain installation directory. The same command when run on WinXP, gave the correct path, Command: h8300-elf-gcc -print-prog-name=cc1 Output: $(TCINSTALL)/h8300-elf/bin/../libexec/gcc/h8300-elf/4.2-GNUH8_v0802/ cc1.exe Expected Result: Same as Output where, $(TCINSTALL) is the toolchain installation directory. Additional Information: The sources used for building the GNU H8 MinGW toolchain are gcc-core-3.4.5-20060117-3.tar.gz, gcc-g++-3.4.5-20060117-3.tar.gz, binutils-2.17.50-20060824-1.tar.gz, mingw-runtime-3.12.tar.gz and w32api-3.9.tar.gz. We also downloaded "MinGW-5.1.4.exe" from the official MinGW website and found that the command works as expected on Vista OS. This used the following versions: gcc-core-3.4.5-20060117-3.tar.gz, gcc-g++-3.4.5-20060117-3.tar.gz, binutils-2.17.50-20060824-1.tar.gz, mingw-runtime-3.14.tar.gz and w32api-3.11.tar.gz. Command: gcc -print-prog-name=cc1 Output: C:/MinGW/bin/../libexec/gcc/mingw32/3.4.5/cc1.exe Expected Result: Same as Output To confirm whether the difference in MinGW versions resulted in this behaviour, we built MinGW GNU H8 toolchain using the above versions. However, the '-print-prog-name' command still gave the same problem. The same command when run on WinXP, worked correctly. Can somebody please tell where the problem exactly lies? Regards Siddharth Sengupta