This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Linking problem
- To: Anthony Green <green at redhat dot com>, "java at gcc dot gnu dot org" <java at gcc dot gnu dot org>
- Subject: Re: Linking problem
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Tue, 28 Aug 2001 09:32:22 -0700
--On Tuesday, August 28, 2001 06:11:38 AM -0700 Anthony Green
<green@redhat.com> wrote:
> Mark wrote:
>> I see that I used the --encoding=UTF-8 option to gcj and that this
>> flag is not passed through to jvgenmain. Could that be the problem?
>
> I doubt it. Perhaps you're not giving the proper argument to --main=.
> What does your link line look like?
gcj -v -save-temps --main=mainPack/PhysMain <bunch of .class files>
Wait, let me guess -- do I want to sway `mainPack.PhysMain'?
Thanks,
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com