Patch for Review: Build all libjava .class files at once (Updated)

Alexandre Oliva aoliva@redhat.com
Sat Aug 16 18:30:00 GMT 2003


On Aug 16, 2003, Mohan Embar <gnustuff@thisiscool.com> wrote:

> This technique (used in my patch):

> $(shell echo $? | tr ' ' '\n' > libgcj.sourcelist)

> ...seems speedier than this one (also

But it will fail in the very case the ugly code below is intended to
work around, namely, systems with severe limits in command-line
lengths.

> $(shell rm -f libgcj.objectlist || :) $(shell touch libgcj.objectlist) $(foreach object,$(libgcj_la_OBJECTS) $(libgcj_la_LIBADD),$(shell echo $(object) >> libgcj.objectlist))

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer



More information about the Java-patches mailing list