There's something i'm confused about.

Dhek Bhun Kho bhun@chello.nl
Tue Mar 4 22:20:00 GMT 2003


> gcj -c someclass.java and it produces a .o 
>> file reports its ELF 32 relocatable unstripped.
>> ar qv myarchivename.a someclass.o
>> and it bitches about unknown object format. the archive is a non
> existing file.
I ran a test on my system:
<output>
$ gcj test.java -o tester -c
$ ar qv test.a tester
a - tester
</output>
ar reports:
<output>
ar: supported targets: elf32-i386 a.out-i386-linux efi-app-ia32
elf64-x86-64 elf64-little elf64-big elf32-little elf32-big srec
symbolsrec tekhex binary ihex trad-core
</output>
> information on these options in the man pages. Does this option work
> for jar files?
>Works for me:
$gcj -Xlinker --start-group test.jar -Xlinker --end-group
--main=test


More information about the Java mailing list

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