gcj on OSF1 DUX V4.0B

Philip Goisman goisman@physics.arizona.edu
Fri Feb 15 13:27:00 GMT 2002


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



More information about the Java mailing list