This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Sequential build of libjava


%% Tom Tromey <tromey@redhat.com> writes:

  tom> We can't rely on GNU make (libjava does, but that is a bug).  So
  tom> we can only do this if someone writes the configury code to
  tom> detect this situation.

Well, I don't know if anyone cares but here's a little test:

  echo 'all: ; +@: hi ' | make -n -f- 2>/dev/null

This will print both lines:

  echo hi
  hi

if make groks "+" properly, and either just "echo hi" or maybe nothing
(exiting with an error) if it doesn't.

  tom> Perhaps Brad could invoke `make MULTIDO=+make' though.  Though I
  tom> think that will only work if you know your target is multilibbed.

The simplest answer would be to use $(MAKE) somewhere directly in the
command script, instead of hiding it inside MULTIDO; I suppose there's a
good reason to do that

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <psmith@gnu.org>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]