Sorry I misread the message, I taught he was using ar -r
> That won't help - the ld -r command doesn't create an archive it creates a
> combined object file.
> I'm not really here - it's just your warped imagination.
> > Hi,
> > try the ar command
> > ar -x ab.a a.o
> > JohnB
> > > Hi,
> > > This might sound a bit crazy but I need to know if this can be done..
> > > I get ab.a from the following..
> > > ld -r a.o b.o -o ab.a
> > > where a.o and b.o are relocatable ELF objects.
> > > Is it possible to reverse this process in any way (even if it
> > > needs using the libelf library) and get a.o and b.o back from ab.a ?
> > > Thanks
> > > chandra