Re: gdb/gnulib problems with BSD operating systems

Tom Tromey
2012-03-30T20:35:51Z

>>>>> "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