From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21069 invoked by alias); 4 Nov 2011 18:25:59 -0000 Received: (qmail 21058 invoked by uid 22791); 4 Nov 2011 18:25:58 -0000 X-SWARE-Spam-Status: Yes, hits=6.5 required=5.0 tests=AWL,BAYES_00,BOTNET,TW_XG X-Spam-Check-By: sourceware.org Received: from de08ip008.honeywell.com (HELO DE08IP008.honeywell.com) (199.61.24.27) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 04 Nov 2011 18:25:43 +0000 Received-SPF: PermError identity=mailfrom; client-ip=10.216.13.129; receiver=DE08IP008.honeywell.com; envelope-from="Wharton.Sinkler@uop.com"; x-sender="Wharton.Sinkler@uop.com"; x-conformance=spf_only; x-record-type="v=spf1" Received-SPF: None identity=helo; client-ip=10.216.13.129; receiver=DE08IP008.honeywell.com; envelope-from="Wharton.Sinkler@uop.com"; x-sender="postmaster@de08ex6001.global.ds.honeywell.com"; x-conformance=spf_only X-SBRS: None X-SenderGroup: Relay_to_Internet X-MailFlowPolicy: $Relay X-Attachment_Filename: None X-Attachment_Filesize: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkUGAOkstE4K2A2B/2dsb2JhbABDmlOQNYF0BTAvLAEVFQYYB1cBBBu+EINHhQFjBIdZkX0WjDI Received: from unknown (HELO de08ex6001.global.ds.honeywell.com) ([10.216.13.129]) by DE08IP008.honeywell.com with ESMTP; 04 Nov 2011 11:25:41 -0700 Received: from DE08EV1001.global.ds.honeywell.com ([10.216.13.115]) by de08ex6001.global.ds.honeywell.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 4 Nov 2011 14:25:25 -0400 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: gcc-4.6.2 build problem related to xgcc not liking '-V' option on i686-pc-linux-gnu Date: Fri, 04 Nov 2011 18:25:00 -0000 Message-ID: <321B372151FBEC4F99C75A6E40DB2D6E038EE368@DE08EV1001.global.ds.honeywell.com> From: "Sinkler, Wharton" To: 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: 2011-11/txt/msg00036.txt.bz2 I have been trying unsuccessfully to install gcc-4.6.2, on a Redhat Linux V= M.=A0 The configure step seems to work fine.=A0 I'm using the following con= figure options (installing 4.6.2 from a 'gcc_build' directory as suggested = on the website; I already installed the required dependencies under /usr/lo= cal as indicated): ../gcc-4.6.2/configure --with-gmp=3D/usr/local --with-mpfr=3D/usr/local --w= ith-mpc=3D/usr/local --with-ppl=3D/usr/local --with-cloog=3D/usr/local \ =A0=A0=A0=A0 LDFLAGS=3D"-L/usr/local/lib -Xlinker -R/usr/local/lib" CONFIG_= SHELL=3D/bin/bash -enable-languages=3Dc,c++,fortran Under 'make' I am getting the following error: checking for suffix of object files... configure: error: in `/home/E341484/= gnu-install/gcc_build/i686-pc-linux-gnu/libgcc': configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. I found more detail on the make failure in the file ./i686-pc-linux-gnu/lib= gcc/config.log, which shows an error occurring at this statement: configure:3028: /home/E341484/gnu-install/gcc_build/./gcc/xgcc -B/home/E341= 484/gnu-install/gcc_build/./gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr= /local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include= -isystem /usr/local/i686-pc-linux-gnu/sys-include=A0=A0=A0 -V >&5 xgcc: error: unrecognized option '-V' xgcc: fatal error: no input files compilation terminated. I think this is really the cause of the problem.=A0 I think the upper-case = V might be an error, and should be a lower case '-v'.=A0 If I run this comm= and with the 'V' changed to 'v', it executes successfully, returning an ass= ortment of information, including info on the gcc version (and no error).= =A0=20 Is this a bug in the Makefile?=A0 Is the upper-case '-V' supposed to be a '= -v', or am I missing something?=A0 If the 'V' should be a 'v', any suggesti= ons how to fix this in the Makefile? =A0=20 Thanks!=A0=20 Wharton Sinkler =A0