This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: "Scalability" Issues with the libgcj Makefile
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Ranjit Mathew <rmathew at hotmail dot com>
- Cc: java at gcc dot gnu dot org
- Date: 27 Aug 2002 14:08:40 -0300
- Subject: Re: "Scalability" Issues with the libgcj Makefile
- Organization: GCC Team, Red Hat
- References: <akcqrj$abd$1@main.gmane.org>
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