This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
RE: There's something i'm confused about.
- From: Andrew Haley <aph at redhat dot com>
- To: "Julia Smith" <julias at macrovision dot com>
- Cc: "Erik Poupaert" <erik dot poupaert at chello dot be>, <java at gcc dot gnu dot org>
- Date: Wed, 5 Mar 2003 11:27:45 +0000 (GMT)
- Subject: RE: There's something i'm confused about.
- References: <0825777F1074924EB8338D68E48CC256198883@mail.macrovision.com>
Julia Smith writes:
>
> I'm wondering if this is truly so? I use "ar" all the time, with gcj-, gcc-,
> and even vc.net produced .o files; and it works, no sweat, both on minGW as
> on linux. What options did you use with "ar" and what files were you trying
> to join in an archive?
>
> well, if I type
>
> gcj -c someclass.java and it produces a .o
>
> file reports its ELF 32 relocatable unstripped.
>
> then i try
>
> ar qv myarchivename.a someclass.o
>
> and it bitches about unknown object format. the archive is a non existing file.
ar is a geneal purpose arhciver. It should take any kind of file.
It sounds like the ar you are trying to use is broken.
Andrew.
P.S. Please fix your quoting.