This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgcj/13708] java program crashes at startup, UTF-8 environment


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-16 18:17 -------
I am also running RedHat 8 and I set LANG to be en_US.UTF-8 and it works for me:
tin:~/src/gnu/gcctest>gcj jmisc.java
/usr/lib/crt1.o(.text+0x18): In function `_start':
: undefined reference to `main'
collect2: ld returned 1 exit status
tin:~/src/gnu/gcctest>gcj jmisc.java --main=jmisc
tin:~/src/gnu/gcctest>./a.out
tin:~/src/gnu/gcctest>echo $LANG
en_US.iso885915
tin:~/src/gnu/gcctest>setenv LANG=en_US.UTF-8
tin:~/src/gnu/gcctest>gcj jmisc.java --main=jmisc
tin:~/src/gnu/gcctest>!./
./a.out
tin:~/src/gnu/gcctest>gcj jmisc.java
/usr/lib/crt1.o(.text+0x18): In function `_start':
: undefined reference to `main'
collect2: ld returned 1 exit status
tin:~/src/gnu/gcctest>gcj jmisc.java -C
tin:~/src/gnu/gcctest>gij jmisc

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13708


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]