From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Stump To: gcc@gcc.gnu.org, rseguin@rsv.ricoh.com Cc: gcc-help@gcc.gnu.org Subject: Re: Converting aout objs to elf?? Date: Sat, 01 Apr 2000 00:00:00 -0000 Message-ID: <200003100216.SAA03962@kankakee.wrs.com> X-SW-Source: 2000-q1/msg00363.html Message-ID: <20000401000000.IpTRJvsuO6xyo0PvSaLjfvzzdJC7NooaDfPlJFH-8Y4@z> > From: Ralph Seguin > 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.