[IMPORTANT] libgcj/gcc trees integration.

Alexandre Petit-Bianco apbianco@cygnus.com
Wed Dec 6 17:11:00 GMT 2000


Ben Collins writes:

> At the very least I can confirm that it compiles on x86/sparc
> platforms for Debian GNU/Linux. I don't use java, so I can't say
> anything about if it works.

I'm glad to hear that! It's easy to give it a try:

  $ export PATH="<where-installed>/bin:$PATH"
  $ export LD_LIBRARY_PATH="<where-installed>/lib:$LD_LIBRARY_PATH"

  Create this file `foo.java':

class foo {
  public static void main (String[] arg)
  {
    System.out.println ("Testing class `foo'...");
  }
}

  $ gcj foo.java --main=foo
  $ ./a.out
  Testing class `foo'...

If you get a chance to try this out, I'd like to hear about the
results.

./A


More information about the Gcc-patches mailing list