From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12702 invoked by alias); 5 Dec 2004 01:27:19 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 12682 invoked from network); 5 Dec 2004 01:27:14 -0000 Received: from unknown (HELO biscayne-one-station.mit.edu) (18.7.7.80) by sourceware.org with SMTP; 5 Dec 2004 01:27:14 -0000 Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by biscayne-one-station.mit.edu (8.12.4/8.9.2) with ESMTP id iB51REXC024284; Sat, 4 Dec 2004 20:27:14 -0500 (EST) Received: from home-on-the-dome.mit.edu (HOME-ON-THE-DOME.MIT.EDU [18.7.16.76]) (authenticated bits=56) (User authenticated as stiaszny@ATHENA.MIT.EDU) by outgoing.mit.edu (8.12.4/8.12.4) with ESMTP id iB51RD1V006703 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 4 Dec 2004 20:27:13 -0500 (EST) Received: (from stiaszny@localhost) by home-on-the-dome.mit.edu (8.12.9) id iB51RDMs003613; Sat, 4 Dec 2004 20:27:13 -0500 (EST) Message-Id: <200412050127.iB51RDMs003613@home-on-the-dome.mit.edu> To: binutils@sources.redhat.com cc: Martin Stiaszny Subject: Re: binutils 2.15 do not compile on HPUX 10.20 In-reply-to: Your message of "Fri, 03 Dec 2004 21:13:25 CST." <20041204031325.GA98876@mail1.thewrittenword.com> Date: Sun, 05 Dec 2004 01:27:00 -0000 From: Martin Stiaszny X-Scanned-By: MIMEDefang 2.42 X-SW-Source: 2004-12/txt/msg00040.txt.bz2 > > It appears that the -Ae (use ANSI C) flag is not getting propagated to > > the HP C compiler, inspite of my best efforts to force it to do so. > > How about: > $ CC="cc -Ae" ./configure ... yeah, that would have been nice to do it pre-configure, but I eventually got the binutils to compile by setting c_flags in the Makefile post-configure. Except the problem is that some of the sources have non-ansi C in them, so you can't use -Ae on those files, and other places you have to use -Ae, or HP's cc will freak out. So I would compile until an error, toggle the -Ae flag manually in the Makefile, and continue on. Rinse, lather, repeat. Whoever does the make/autoconf stuff for this package might want to look into that if HP-UX 10.20 is still of interest. The gcc package is even more of a mess like that, and has other problems, too. It gets completely confused about the location of its header files. (I still haven't gotten gcc to build.) oh, and why does the gnu linker not support hppa2.0 on 10.20? thanks, - martin