gcj with date manip. and french locale (intel AND linuxppc)

Mark Wielaard mark@klomp.org
Wed Mar 7 09:50:00 GMT 2001


Hi,

On Wed, Mar 07, 2001 at 04:27:47PM +0100, Maurice DIAMANTINI wrote:
 
> gcj -O0 -g -static  --main=Test -o test Test.java
> ./test

I am not sure what goes wrong exactly. But it seems to work if you compile
without -static. You will have define LD_LIBRARY_PATH:
export LD_LIBRARY_PATH=/usr/local/pack/gcc-3.0-cvs-20010306/powerpc-linux/lib

On my system it then gives:

mark@multatuli:~$ ./test
getTime=983983522395
date=Wed Mar 07 17:45:22 GMT-01:00 2001

Cheers,

Mark

-- 
Stuff to read:
    < http://www.toad.com/gnu/whatswrong.html >
  What's Wrong with Copy Protection, by John Gilmore



More information about the Java mailing list