Linking problem

Mark Mitchell mark@codesourcery.com
Tue Aug 28 09:33:00 GMT 2001


--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



More information about the Java mailing list