This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Creating libgcj for AIX
- From: Tom Tromey <tromey at redhat dot com>
- To: "Dean Hill" <dhill at hotmail dot com>
- Cc: java at gcc dot gnu dot org
- Date: 08 Jan 2004 17:07:03 -0700
- Subject: Re: Creating libgcj for AIX
- References: <Sea2-F13fr3qTN7R3eX00036d91@hotmail.com>
- Reply-to: tromey at redhat dot com
>>>>> "Dean" == Dean Hill <dhill@hotmail.com> writes:
Dean> The line that is so long is attempting to execute the 'nm' command
Dean> with a list of all the object files needed for libgcj. There are so
Dean> many object files, that the 'nm' line is too long and 'nm' fails with
Dean> the error:
Dean> ./libtool[3463]: /bin/nm: arg list too long
Dean> o When people have built libgcj on other systems, how do they avoid
Dean> the "arg list is too long" errors?
libtool has support for very long argument lists via the `-objectlist'
argument. However, I think most libgcj developers use systems (like
Linux) where no export file is needed. So my guess is that this part
of libtool was never updated for long argument lists.
Dean> o How do I get 'nm' to generate the export file successfully?
If my theory is correct you will most likely need to modify libtool to
handle this situation. I don't know anything about AIX export files,
so I can't say whether it is even possible to build them in parts.
Dean> o If I can get 'nm' to create the export file successfully, will I
Dean> still need huge amounts of disk space for generating the reloadable
Dean> object files?
libgcj is pretty big, but 460M does seem excessive. Perhaps something
else is going wrong.
Tom