gcj reading stdin gets leading "?" character

David Van Horn dvanhorn@emba.uvm.edu
Tue Sep 9 16:12:00 GMT 2003

I fear this may be a FAQ, but I can't find it...

public class ekko {
     public static void main (String[] args) {
         for (int i = 0; i < args.length; i++)
             System.out.println( args[i] );

gcj --main=ekko ekko.java -o ekko

./ekko this

How do I get rid of this leading question mark?



More information about the Gcc-help mailing list