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~35 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=12c675b215787e4f9140a8dcc41744c1cfe6a533;p=automake.git * automake.texi (Java Support): Mention --main and _LDFLAGS. For PR automake/324. --- diff --git a/ChangeLog b/ChangeLog index 41190502..d5f5bf9d 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 33f6e45f..5627c55b 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