'-print-prog-name' does not work on Vista OS
Brian Dessent
brian@dessent.net
Wed Aug 13 08:43:00 GMT 2008
Siddharth Sengupta wrote:
> 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.
This is PR33281 (which was not a complete fix) and PR35916 (which
concerned the remaining instances in libiberty not covered by the
previous) which was finally fixed for 4.4.0. The fix should be trivial
to backport to older versions. Alternatively you can override CFLAGS
and BOOT_CFLAGS manually on the make command.
Brian
More information about the Gcc-help
mailing list