From: Tom Tromey Date: Fri, 5 Jul 2002 22:59:22 +0000 (+0000) Subject: * automake.texi (Java Support): Mention --main and _LDFLAGS. X-Git-Tag: Release-1-6b~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f01a45e8801279a031cbd7451f606fc53aabb207;p=thirdparty%2Fautomake.git * automake.texi (Java Support): Mention --main and _LDFLAGS. For PR automake/324. --- diff --git a/ChangeLog b/ChangeLog index 41190502b..d5f5bf9d1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-07-05 Tom Tromey + + * automake.texi (Java Support): Mention --main and _LDFLAGS. + For PR automake/324. + 2002-07-04 Alexandre Duret-Lutz * tests/asm.test: Erase Autom4te's cache between each test. diff --git a/automake.texi b/automake.texi index 33f6e45fc..5627c55b3 100644 --- a/automake.texi +++ b/automake.texi @@ -2880,6 +2880,10 @@ user macro @samp{GCJFLAGS}, should be used. @code{gcj} can be used to compile @file{.java}, @file{.class}, @file{.zip}, or @file{.jar} files. +When linking, @code{gcj} requires that the main class be specified +using the @samp{--main=} option. The easiest way to do this is to use +the @code{_LDFLAGS} variable for the program. + @node Support for Other Languages, ANSI, Java Support, Programs @comment node-name, next, previous, up