From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14069 invoked by alias); 10 Jul 2008 20:40:28 -0000 Received: (qmail 14030 invoked by uid 22791); 10 Jul 2008 20:40:27 -0000 X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.33.17) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 10 Jul 2008 20:40:10 +0000 Received: from spaceape24.eur.corp.google.com (spaceape24.eur.corp.google.com [172.28.16.76]) by smtp-out.google.com with ESMTP id m6AKdOcm003363; Thu, 10 Jul 2008 21:39:24 +0100 Received: from localhost (meta.corp.google.com [172.22.108.53]) by spaceape24.eur.corp.google.com with ESMTP id m6AKcoXL027742; Thu, 10 Jul 2008 21:38:51 +0100 Received: by localhost (Postfix, from userid 500) id ADB033F3058; Thu, 10 Jul 2008 13:38:50 -0700 (PDT) To: dj@redhat.com CC: drow@false.org, binutils@sourceware.org, gdb@sourceware.org In-reply-to: <200807101923.m6AJNZBw006371@greed.delorie.com> (message from DJ Delorie on Thu, 10 Jul 2008 15:23:35 -0400) Subject: Re: inflateInit? References: <20080710165155.D15CA3F3058@localhost> <200807101724.m6AHO9Lu003165@greed.delorie.com> <20080710185052.E6E653F3058@localhost> <200807101923.m6AJNZBw006371@greed.delorie.com> Message-Id: <20080710203850.ADB033F3058@localhost> Date: Thu, 10 Jul 2008 20:40:00 -0000 From: csilvers@google.com (Craig Silverstein) Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-07/txt/msg00092.txt.bz2 } Besides, "you should hack your Makefiles" is not a suitable solution } to this kind of problem. I'm not the only one trying to build them. I'm sorry if I wasn't clear: I was suggesting you fix the Makefile and then check it in to whatever source control system you're using. } If I added it to CVS (assuming I had permission to do so), then any } system missing libz would break. But such a system wouldn't have the compression stuff built into libbfd either, so you'd be fine. You can just use the same configure rule for your project that bfd uses for its: AC_SEARCH_LIBS(zlibVersion, z, [AC_CHECK_HEADERS(zlib.h)]) As long as you build your project and libbfd at the same time, which as I understand it is pretty much a requirement when working with libbfd, then everything should work. craig