From mboxrd@z Thu Jan 1 00:00:00 1970 From: brantley@coraid.com (Brantley Coile) Date: Thu, 8 Apr 2010 11:16:27 -0400 Subject: [pups] extract old archive format? In-Reply-To: References: Message-ID: <0468D39C-5EDA-4B03-9300-B61C95FD029E@coraid.com> read the ar(1) entry in the 7th edition manual, located at ... http://plan9.bell-labs.com/7thEdMan/index.html and write the tiny bit of C it takes to read the archive. Brantley On Apr 8, 2010, at 9:25 AM, Jeremy C. Reed wrote: > I want to look in some .a files identified by file(1) as "old PDP-11 > archive". > > Anyone know what tool I can use on a modern *BSD or Linux system to > extract the files from an "old PDP-11" ar archive? > > GNU ar complains "File format not recognized". ar tells me: > > ar: supported targets: elf64-x86-64 elf32-i386 a.out-i386-netbsd > coff-i386 efi-app-ia32 elf64-little elf64-big elf32-little elf32-big > srec symbolsrec tekhex binary ihex netbsd-core > > But I have no idea how to try different targets. The GNU ar manual page > doesn't tell me much. > > Or how can I use modern pcc or gcc to compile old pre-ansi ar.c? > > Any suggestions? > > Now I found a simtools.zip via http://simh.trailing-edge.com/ which is > "a collection of tools for manipulating simulator file formats and for > cross-assembling code for the PDP-1, PDP-7, PDP-8, and PDP-11." But I am > not sure if this is related. On that note, any ideas how to extract > files from a ".tap" file used by simh? (For now I use view or strings to > look at it.) > > Thanks, > > Jeremy C. Reed > > echo 'EhZ[h ^jjf0%%h[[Zc[Z_W$d[j%Xeeai%ZW[ced#]dk#f[d]k_d%' | \ > tr '#-~' '\-.-{' > > _______________________________________________ > PUPS mailing list > PUPS at minnie.tuhs.org > https://minnie.tuhs.org/mailman/listinfo/pups > > >