From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16553 invoked by alias); 12 Aug 2008 20:54:24 -0000 Received: (qmail 16545 invoked by uid 22791); 12 Aug 2008 20:54:23 -0000 X-Spam-Check-By: sourceware.org Received: from dessent.net (HELO dessent.net) (69.60.119.225) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 12 Aug 2008 20:53:47 +0000 Received: from localhost.localdomain ([127.0.0.1] helo=dessent.net) by dessent.net with esmtp (Exim 4.50) id 1KT0sB-00087n-VK; Tue, 12 Aug 2008 20:53:44 +0000 Message-ID: <48A1F856.728981A1@dessent.net> Date: Wed, 13 Aug 2008 08:43:00 -0000 From: Brian Dessent Reply-To: gcc-help@gcc.gnu.org X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) MIME-Version: 1.0 To: Siddharth Sengupta CC: gcc-help@gcc.gnu.org, Gina Verlekar , Prafulla Thakare Subject: Re: '-print-prog-name' does not work on Vista OS References: <82C3BC9106BCE149B63464D79D0A22FD058EAF49@sohm.kpit.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2008-08/txt/msg00129.txt.bz2 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