title: GCJ Creates duplicate dummy symbol
body: <p>I'm trying to build a java application with gcj but getting the error below.  It's been a while since I've used gcj (a year or so), so I may have forgot something non obvious but I'm pretty sure this is how I've always done it.</p>
  
  <pre><code> multiple definition of `java resource .dummy'
  </code></pre>
  
  <p>gcj versions are 4.4.1 on Ubuntu and 4.3.4 on cygwin/windows XP and I'm building it with</p>
  
  <pre><code>  gcj --main=my.MainClass --classpath=my my/*java
  </code></pre>
  
  <p>Anyone seen this or know a workaround without installing an earlier version of gcj.  If that is the way to do it does anyone know how to do that on cygwin or will I have to build it?</p>
  
  <p>Here is a minimal test case that gives this error</p>
  
  <pre><code>public class A {
      public static void main(String[] args) {
          System.out.println(new B());
      }
  }
  
  public class B {
      public String toString() {
          return "Hello";
      }
  }
  
  gcj --main=A src/A.java src/B.java
  </code></pre>