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]

RE: There's something i'm confused about.


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]