This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Converting aout objs to elf??
- To: gcc at gcc dot gnu dot org, rseguin at rsv dot ricoh dot com
- Subject: Re: Converting aout objs to elf??
- From: Mike Stump <mrs at windriver dot com>
- Date: Thu, 9 Mar 2000 18:16:44 -0800 (PST)
- Cc: gcc-help at gcc dot gnu dot org
> From: Ralph Seguin <rseguin@rsv.ricoh.com>
> To: gcc@gcc.gnu.org
> Date: Thu, 9 Mar 2000 11:35:04 -0800
> Cc: gcc-help@gcc.gnu.org
> We have a library from a vendor that is compiled aout and we are
> using ELF everywhere else. We do not have source to and CANNOT get
> them to provide an ELF version.
Dump em, it'll save you some time and pain.
> I seem to remember seeing something a long time ago about converting
> aout object files to ELF.
> Is there an easy means of converting a library of AOUT objects into
> a (shared) ELF library?
Sure, just pull out objcopy, and extend it to handle the relocs on
your platform well, and presto, no problem. Well, you might need to
have ld remap the syms for you, byt other than that, it should just
work.