This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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


> 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


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