Re: gcj reading stdin gets leading "?" character

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

 



Perhaps this is a bug(?)  I received an email that this works fine gcj with

gcj version 2.96
Linux 2.4.7 / RedHat 7.2 / i686

I'm using gcj version 3.2.2 with SunOS 5.8 on a sparc chip.

(Also it's worth noting that "./ekko this that" produces
?this
that)

Thanks.

-d

David Van Horn wrote:
> 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