From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14043 invoked by alias); 20 Feb 2003 23:19:47 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 13816 invoked from network); 20 Feb 2003 23:19:40 -0000 Received: from unknown (HELO takamaka.act-europe.fr) (209.53.16.215) by 172.16.49.205 with SMTP; 20 Feb 2003 23:19:40 -0000 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id 66051D34B6; Thu, 20 Feb 2003 15:19:38 -0800 (PST) Date: Thu, 20 Feb 2003 23:19:00 -0000 From: Joel Brobecker To: Kevin Buettner Cc: "Martin M. Hunt" , gdb-patches@sources.redhat.com Subject: Re: [RFA] fix AIX builds Message-ID: <20030220231938.GE960@gnat.com> References: <1045719632.1640.4.camel@Dragon> <1030220150408.ZM7589@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1030220150408.ZM7589@localhost.localdomain> User-Agent: Mutt/1.4i X-SW-Source: 2003-02/txt/msg00506.txt.bz2 > Setting it via NAT_CLIBS will always cause gdb (for native AIX) > to be linked against libpthdebug. That *should* be okay. (I'm not > completely certain though.) I think it should be okay too, because there should be no code using this library. However, it's a bit of a shame to be linking in this library unconditionaly... > Just out of curiosity, did you try changing: > > CONFIG_LDFLAGS="${CONFIG_LDFLAGS} -lpthdebug" > > to: > > LIBS="${LIBS} -lpthdebug" > ? I like it better too. I'd love to test this change and commit it, but since I tested this change on our AiX 5.1 machine, a successful build here will not mean a succesful build on Martin's machine. Martin, would you mind trying out Kevin's suggestion? Thanks, -- Joel