From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27956 invoked by alias); 30 Mar 2012 22:07:59 -0000 Received: (qmail 27946 invoked by uid 22791); 30 Mar 2012 22:07:58 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_NO X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 30 Mar 2012 22:07:46 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 76A381C6C3B; Fri, 30 Mar 2012 18:07:45 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08C54f9tCzF9; Fri, 30 Mar 2012 18:07:45 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 304111C68E5; Fri, 30 Mar 2012 18:07:45 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 574E4145616; Fri, 30 Mar 2012 15:07:40 -0700 (PDT) Date: Fri, 30 Mar 2012 22:07:00 -0000 From: Joel Brobecker To: Tom Tromey Cc: Pierre Muller , gdb@sourceware.org Subject: Re: gdb/gnulib problems with BSD operating systems Message-ID: <20120330220740.GA18842@adacore.com> References: <32726.6318876811$1333031278@news.gmane.org> <87ehs9n7xx.fsf@fleche.redhat.com> <20120330213422.GX2713@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120330213422.GX2713@adacore.com> User-Agent: Mutt/1.5.20 (2009-06-14) 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: 2012-03/txt/msg00090.txt.bz2 > > Otherwise, you can tell configure that you plan to use gmake, like > > ".../configure MAKE=gmake". That will write the proper value into the > > various Makefiles. (But you shouldn't have to do this.) > > This one doesn't work, as far as I can tell. Pierre and I both > tried it two different ways, and configure still replaces @MAKE@ > by make in gnulib/Makefile :-( (a bug, if you ask me, just don't > know where). I researched this a little bit, and I figured out why it did not work for me. I was calling configure with MAKE=gmake, but that has not effect because the top-level configure does not set MAKE. So, when I ran "make" (instead of gmake), it just implicitly set the MAKE variable to "make" rather than "gmake", and then calls our configure script passing that implicit MAKE=make value, which is not what Pierre wants. On the other hand, if I do (on x86_64-linux): % /path/to/gdb/configure % /home/brobecke/gmake Here is what I find in gnulib's Makefile: MAKE = /home/brobecke/gmake In other words, it should work out of the box without having to set anything by hand, as long as you use gmake as the top-level make program. -- Joel