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] |
Other format: | [Raw text] |
I have compiled all jar dependencies into .o files using -findirect-dispatch option. My last command line to make all-in-one executable file looks like this: $ gcj-4.1 -omyApp.executable -static-libgcj -O3 --main=my.main.Class -findirect-dispatch -fjni jar1.o jar2.o jar3.o
as I addded -static-libgcj, it gives me: /usr/bin/ld: cannot find -lgcj_bc collect2: ld return ed 1 exit status
I believe I'm doing something wrong and this simple usage should not be a bug.
Thanks.
On 4/7/07, David Daney <ddaney@avtrex.com> wrote:Mohsen Saboorian wrote: > When using "-static-libgcj", I'm getting this error: > /usr/bin/ld: cannot find -lgcj_bc > Please post your complete command line or file a complete bug report. If there is a problem in GCC we can fix it.
David Daney
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |