From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18320 invoked by alias); 5 May 2005 20:10:13 -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 18274 invoked from network); 5 May 2005 20:10:08 -0000 Received: from unknown (HELO bluesmobile.specifixinc.com) (64.220.152.98) by sourceware.org with SMTP; 5 May 2005 20:10:08 -0000 Received: from [127.0.0.1] (bluesmobile.corp.specifix.com [192.168.1.2]) by bluesmobile.specifixinc.com (Postfix) with ESMTP id 9C460169E1; Thu, 5 May 2005 14:24:36 -0700 (PDT) Subject: Re: Another HP-UX IA64 Build patch From: James E Wilson To: sje@cup.hp.com Cc: binutils@sources.redhat.com In-Reply-To: <200505051714.KAA17413@hpsje.cup.hp.com> References: <200505051714.KAA17413@hpsje.cup.hp.com> Content-Type: multipart/mixed; boundary="=-6QQzqCP+B/jHegvqb27t" Message-Id: <1115323807.8413.102.camel@aretha.corp.specifixinc.com> Mime-Version: 1.0 Date: Thu, 05 May 2005 20:12:00 -0000 X-SW-Source: 2005-05/txt/msg00207.txt.bz2 --=-6QQzqCP+B/jHegvqb27t Content-Type: text/plain Content-Transfer-Encoding: 7bit Content-length: 579 On Thu, 2005-05-05 at 10:14, Steve Ellcey wrote: > Here is the second of my IA64 HP-UX build patches. This one involves > the declaration of basename() in include/libiberty.h. What do people > think about using the prototype version whenever we are compiling with > GCC? Never mind, I see the problem. The question about the prototype confused me, and put me on the wrong track. Try this patch. We need to include sysdep.h before libiberty.h, so that libiberty.h gets the proper HAVE_DECL_BASENAME definition. -- Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com --=-6QQzqCP+B/jHegvqb27t Content-Disposition: attachment; filename=patch.include.order Content-Type: text/plain; name=patch.include.order; charset=utf-8 Content-Transfer-Encoding: 7bit Content-length: 735 2005-05-05 James E Wilson * ia64-opc.c: Include sysdep.h before libiberty.h. Index: ia64-opc.c =================================================================== RCS file: /cvs/src/src/opcodes/ia64-opc.c,v retrieving revision 1.8 diff -p -p -r1.8 ia64-opc.c *** ia64-opc.c 3 Mar 2005 11:49:49 -0000 1.8 --- ia64-opc.c 5 May 2005 20:05:54 -0000 *************** *** 20,27 **** 02111-1307, USA. */ #include "ansidecl.h" - #include "libiberty.h" #include "sysdep.h" #include "ia64-asmtab.h" #include "ia64-asmtab.c" --- 20,27 ---- 02111-1307, USA. */ #include "ansidecl.h" #include "sysdep.h" + #include "libiberty.h" #include "ia64-asmtab.h" #include "ia64-asmtab.c" --=-6QQzqCP+B/jHegvqb27t--