From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15820 invoked by alias); 16 Aug 2008 15:54:09 -0000 Received: (qmail 15812 invoked by uid 22791); 16 Aug 2008 15:54:08 -0000 X-Spam-Check-By: sourceware.org Received: from delta357.server4you.de (HELO delta357.server4you.de) (85.25.136.128) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 16 Aug 2008 15:53:06 +0000 Received: from [62.12.134.36] (helo=PowerMac.local) by delta357.server4you.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1KUO5I-0000iO-Fw for gdb@sourceware.org; Sat, 16 Aug 2008 17:53:04 +0200 Message-ID: <48A6F7D2.1080601@emmenlauer.de> Date: Sat, 16 Aug 2008 22:07:00 -0000 From: Mario Emmenlauer User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: gdb@sourceware.org References: <48A6E7E9.3070004@emmenlauer.de> <20080816150045.GA25832@caradoc.them.org> In-Reply-To: <20080816150045.GA25832@caradoc.them.org> Content-Type: multipart/mixed; boundary="------------050407060402050104080507" X-SA-Exim-Connect-IP: 62.12.134.36 X-SA-Exim-Mail-From: mario@emmenlauer.de Subject: Re: gdb supported on powerpc-apple-darwin ? X-SA-Exim-Version: 4.2.1 (built Tue, 03 Jun 2008 21:09:08 +0000) X-SA-Exim-Scanned: Yes (on delta357.server4you.de) 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-08/txt/msg00202.txt.bz2 This is a multi-part message in MIME format. --------------050407060402050104080507 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 732 Hi, Daniel Jacobowitz wrote: > On Sat, Aug 16, 2008 at 04:44:57PM +0200, Mario Emmenlauer wrote: >> it seems a rather trivial question, however I could not easily find >> the answer: is 'plain' FSF gdb supported on Mac OS X (ppc darwin)? > > No. That's what this means: > >> *** This configuration is not supported in the following subdirectories: >> bfd opcodes gdb sim Fair enough :-) BTW: the error message appears just after invoking configure, and is not re-displayed later. This is why I missed it the first time. When the 'gdb' directory is not supported, it might be sensible to show a big warning at the configure results? A start might be something like the below patch to configure.ac. Cheers, Mario --------------050407060402050104080507 Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0"; name="configure.ac.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="configure.ac.patch" Content-length: 873 --- gdb-6.8/configure.ac 2008-03-27 19:27:19.000000000 +0100 +++ /tmp/configure.ac 2008-08-16 17:50:22.000000000 +0200 @@ -1632,8 +1632,14 @@ # Okay, some application will build, or we don't care to check. Still # notify of subdirs not getting built. echo "*** This configuration is not supported in the following subdirectories:" 1>&2 - echo " ${notsupp}" 1>&2 - echo " (Any other directories should still work fine.)" 1>&2 + echo " ${notsupp}" 1>&2 + if echo " ${notsupp} " | grep " gdb " >/dev/null 2>&1; then + echo " which means gdb will not be built on this platform!" 1>&2 + echo " Continuing, though possible, is most likely not what you want." 1>&2 + echo " (However other directories should still work fine.)" 1>&2 + else + echo " (Any other directories should still work fine.)" 1>&2 + fi fi case "$host" in --------------050407060402050104080507--