gcj reading stdin gets leading "?" character

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
?this

How do I get rid of this leading question mark?

TIA

-d


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux