libgcj_bc.so not embedded
Mohsen Saboorian
mohsens@gmail.com
Sat Apr 7 21:25:00 GMT 2007
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
>>
More information about the Java
mailing list