"Scalability" Issues with the libgcj Makefile

Alexandre Oliva aoliva@redhat.com
Tue Aug 27 10:08:00 GMT 2002


On Aug 26, 2002, Ranjit Mathew <rmathew@hotmail.com> wrote:
> echo $(libgcj_la_OBJECTS) >>libgcj.objectlist
> echo $(libgcj_la_LIBADD) >>libgcj.objectlist

> "fixes" the problem (though it is not necessarily a neat solution).

Unfortunately, this doesn't work on the very platforms on which the
989 object files exceed the command-line argument length, which is
what the $(shell ) fragment in the Makefile avoids by issuing separate
shell commands for each object file.
Perhaps the best portable option is to figure out a way to extract the
object file list from the Makefile itself. It may get trying to
follow macro expansions, but I don't see any other way out :-(
-- 
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 mailing list

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