This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: input line is too long
Hi there,
On Sat, 2002-12-21 at 17:09, Erik Poupaert wrote:
> Is there any other way to link a foldertree with *.o files without running
> into all kinds of limitations?
I'd like to know too. The only way I know at the moment is in your case,
compile everything with jikes if you haven't been able to track
dependencies between sources or keep the number of files within a
package relatively small. Then jar everything up and generate a library:
jar cvf package.jar -C classes/ .
gjc --shared -o lib-package.so package.jar
generate executables using (if the so file is in the current directory,
and not on the ld_library_path):
gcj --main=nameOfMainClass -L. lib-package.so
greets.