This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb/gnulib problems with BSD operating systems
- From: Tom Tromey <tromey at redhat dot com>
- To: "Pierre Muller" <pierre dot muller at ics-cnrs dot unistra dot fr>
- Cc: <gdb at sourceware dot org>
- Date: Fri, 30 Mar 2012 14:35:22 -0600
- Subject: Re: gdb/gnulib problems with BSD operating systems
- References: <32726.6318876811$1333031278@news.gmane.org>
>>>>> "Pierre" == Pierre Muller <pierre.muller@ics-cnrs.unistra.fr> writes:
Pierre> gmake all-gdb
Pierre> fails in
Pierre> build/gdb/gnulib
Pierre> This seems to come from the fact that
Pierre> build/gdb/gnulib/Makefile
Pierre> contains a line with
Pierre> MAKE = make
Pierre> so that despite being calls from gmake,
Pierre> it calls BSD style make executable
Pierre> that doesn't know how to handle some GNU specific stuff.
Pierre> Is this an error in the configure script of GDB,
Pierre> or should I specify which make I intent to use
Pierre> differently?
Try adding MAKE to FLAGS_TO_PASS in gdb/Makefile.
I suspect that would help.
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.)
Tom