Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!linus!philabs!cmcl2!seismo!brl-tgr!tgr!cottrell@nbs-vms.arpa From: cottrell@nbs-vms.arpa (COTTRELL, JAMES) Newsgroups: net.lang.c Subject: Archives Message-ID: <1396@brl-tgr.ARPA> Date: Thu, 9-Jan-86 13:07:33 EST Article-I.D.: brl-tgr.1396 Posted: Thu Jan 9 13:07:33 1986 Date-Received: Sat, 11-Jan-86 05:45:03 EST Sender: news@brl-tgr.ARPA Lines: 23 /* > Is there any way to change the name of a routine in an archive file? Yeah. Recompile and reachive with a different name. Archives were not meant to be diddled with. You're either On the Bus or Off the Bus. > My problem is that I have an archive file of routines that call > the subroutine 'foobarsub(3)'. Unfortunately, the name has been > truncated to eight characters to 'foobarsu' in the archive. > I only have the object form of the archive, and can't figure out > how to get the name to refer to the proper subroutine. So what happens when you try to call `foobarsub'? Perhaps the loader (or compiler) will truncate to the same length. If not, try using `foobarsu'. A #define may help make global changes. > Am I missing something simple? (Probably) Foobarsu? The new Japanese car for programmers :-) ?!? jim cottrell@nbs */ ------