This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


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

Re: Update: Problem with Alpha OSF1 and mips-tfile


Thanks a lot. I change the jvspec.c to your first patch and
gcj is compiling helloworld in UNIX True64 v5.0 ALPHA,
I will probably be testing gcj on this machine...
These are the first problems found running gcj in this machine:
1. command: gcj --main=HelloWorld  -o hello HelloWorld.java
   compiled without error messages.
   ./hello
515056:./hello: /sbin/loader: Error: Unresolved symbol in
/usr/users/ake/gcc18/lib//libgcj.so: iconv_close
515056:./hello: /sbin/loader: Error: Unresolved symbol in
/usr/users/ake/gcc18/lib//libgcj.so: iconv
515056:./hello: /sbin/loader: Error: Unresolved symbol in
/usr/users/ake/gcc18/lib//libgcj.so: iconv_open
515056:./hello: /sbin/loader: Fatal Error: this executable has
unresolvable symbols
Workaround: gcj --main=HelloWorld  -o hello HelloWorld.java -liconv
Why is not linked by default -liconv? Where it could be the problem?
2. Problem
I need to compile a static binary:
Command:  gcj --main=HelloWorld  -o hello HelloWorld.java -liconv -static
Error: Undefined:
iconv_open
iconv_close
iconv
collect2: ld returned 1 exit status
I hope this problem is related with the first one, because I really need
to work with static binaries.

Regards





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