Fw: Don't build libgcj on irix6.5 - still doesn't work

Alexandre Oliva aoliva@redhat.com
Fri Mar 23 10:11:00 GMT 2001


On Mar 22, 2001, Tom Tromey <tromey@redhat.com> wrote:
>>>>>> "Bryce" == Bryce McKinlay <bryce@albatross.co.nz> writes:
Bryce> +	echo $(libgcj_la_OBJECTS) > libgcj.objectlist;
Bryce> +	echo $(libgcj_la_LIBADD) >> libgcj.objectlist;
> Will this work on systems with a length limit where `echo' is not a
> built in? Maybe we need a for loop instead?

Not only that: make may exec() sh -c "command", and, if this command
exceeds the command-line length, we lose as well. That's the reason
why I had first done it using GNU make exceptions. And I really don't
see a reasonable way out of it. Hmm... Unless we do something like:
libgcj.la: libgcj.objectlist
libgcj.objectlist: $(libgcj_la_OBJECTS:.lo=.loX) $(libgcj_la_LIBADD:.lo=.loX)
	@ls -1 | sed -n 's,\.loX$,ドル.lo,p' > $@
.lo.loX:
	@echo $< > $@
-- 
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /