From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,71bdb597b07ddd9d,start X-Google-Attributes: gidfee84,public From: mooney@dogbert.cc.ndsu.NoDak.edu (Tim Mooney) Subject: ar "symdef" entry Date: 1999/02/21 Message-ID: <7anlsk$mna$1@node2.nodak.edu>#1/1 X-Deja-AN: 446566814 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Complaints-To: abuse@nodak.edu X-Trace: node2.nodak.edu 919558868 23274 134.129.106.23 (21 Feb 1999 01:01:08 GMT) Organization: North Dakota Higher Education Computing Network (NDHECN) Mime-Version: 1.0 NNTP-Posting-Date: 21 Feb 1999 01:01:08 GMT Newsgroups: comp.unix.osf.osf1 Running `ar t /some/local/library.a' on a local library always lists an entry similar to ________64ELEL_. This isn't mentioned in the ar(1) or ar(4) man pages (the symdef file is mentioned in the ar(1) man page, but it's not described in much detail), but it's somewhat documented in the ar.h header file. Based on my reading of that header and subsequent re-readings of ar(1), it's clear that the strange entry I'm seeing is the symdef entry. The question is, should doing ar -x /some/local/library.a extract all the object files *and* the symdef file, or just the object files? I'm asking because I've run into an OpenSource software package that uses `ar' to extract all the objects from a local library and then tries to do something with them, but it fails because it's also getting the symdef file extracted. I can easily work around this on a temporary basis, but I'm wondering if extracting the symdef file is the correct behavior in the first place. Tim -- Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu Information Technology Services (701) 231-1076 (Voice) Room 242-J1, IACC Building (701) 231-8541 (Fax) North Dakota State University, Fargo, ND 58105-5164