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: "Scalability" Issues with the libgcj Makefile


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


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