libgcj_bc.so not embedded

David Daney ddaney@avtrex.com
Sun Apr 8 00:25:00 GMT 2007


Mohsen Saboorian wrote:
> 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
>
-static-libgcj has never been tested with -findirect-dispatch or -fjni. 
If you are statically linking there should be no need for 
-findirect-dispatch as you will never be upgrading the runtime (or 
anything else for that matter).
> 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

AltStyle によって変換されたページ (->オリジナル) /