This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Sequential build of libjava
- From: Brad Lucier <lucier at math dot purdue dot edu>
- To: ghazi at caip dot rutgers dot edu (Kaveh R. Ghazi)
- Cc: lucier at math dot purdue dot edu, gcc at gcc dot gnu dot org, java at gcc dot gnu dot org, matz at suse dot de, mszick at goquest dot com, phil at jaj dot com, psmith at gnu dot org, tromey at redhat dot com
- Date: Fri, 13 Sep 2002 16:16:07 -0500 (EST)
- Subject: Re: Sequential build of libjava
> Does anyone have any suggestions to fix the problem cleanly?
I think the best suggestion is found in
http://gcc.gnu.org/ml/gcc/2002-09/msg00218.html
i.e.,
> >>>>> "Paul" == Paul D Smith <psmith@gnu.org> writes:
>
> Paul> A simpler, but completely equivalent (as long as you use GNU make)
> Paul> change would be to just:
> Paul> MULTIDO = +$(MAKE)
>
> We can't rely on GNU make (libjava does, but that is a bug).
> So we can only do this if someone writes the configury code to detect
> this situation.
>
> Perhaps Brad could invoke `make MULTIDO=+make' though. Though I think
> that will only work if you know your target is multilibbed.
In other words, configure should figure out if we're using gnu make,
and if so, put a plus sign there in the definition of MULTIDO.
But I don't know how to do this. I "solved" my problem imperfectly
by building with
make -j 12 MAKE='make -j 12' bootstrap
See also the messages that this message cites.
Brad