This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: gcj on OSF1 DUX V4.0B
- From: Philip Goisman <goisman at physics dot arizona dot edu>
- To: aph at cambridge dot redhat dot com, java-discuss at sources dot redhat dot com, jsturm at one-point dot com
- Date: Fri, 15 Feb 2002 13:26:11 -0700 (MST)
- Subject: Re: gcj on OSF1 DUX V4.0B
Hi,
Andrew Haley <aph@cambridge.redhat.com> writes:
->Because the linker you're trying to use isn't much good. If GNU
->binutils are available on your platform I suggest you use those.
->If GNU binutils works on your platform, try that and see how you get
binutils-2.11.2 did indeed install on alphaev5-dec-osf4.0b. However, it won't
create ld.
*** This configuration is not supported in the following subdirectories:
gas ld
So, until Jeff Jeff Sturm <jsturm@one-point.com> wrote:
Try the following:
LD_BIND_NOW=yes
export LD_BIND_NOW
./HelloWorld
I thought I had a problem.
Using gcj --main=HelloWorld --encoding=UTF-8 -o HelloWorld HelloWorld.java
I get a manageable sized HelloWorld (49152 Feb 15 13:12 HelloWorld*)
and, except for a small warning, it appears to work:
setenv LD_BIND_NOW yes
./HelloWorld
32267:./HelloWorld: /sbin/loader: Warning: Can't find strong symbol for _Jv_InitClass
Hello World!
Thanks to both of you for your help.
Not to be too greedy, but is there a way to turn off the Warning?
Philip