Annotation of researchv10no/cmd/PDP11/11Changelog, revision 1.1.1.1

1.1       root        1: a.out.h:
                      2:        Header structure: ints -> unsigned short
                      3: nm.c:
                      4:        added static char *progname = argv[0], made error messages
                      5:        printf(stderr, "%s: ....", progname, ....);  This is because
                      6:        PDP11-on-VAX system will call it 11nm.  All the other programs
                      7:        below do this, too.
                      8:        Added #ifndef A_DOT_OUT lines to default, as always, to "a.out",
                      9:        but now this is tweakable by the PDP11-on-VAX package. Same is true
                     10:        for all other programs which use a.out as a file name.
                     11: ar.c:
                     12:        Added char *progname = argv[0] for error messages.  On PDP11-on-VAX,
                     13:        without standard character archiver, ar will be called "car",
                     14:        character archiver.
                     15: arcv.c:
                     16:        same as ar.c above.  Also, sections have #ifdef vax lines which will
                     17:        fix the reverse longs and use manifest constants instead of sizeof's
                     18:        in the old binary pdp11-format archive.
                     19: ld.c:
                     20:        Slightly overkilled by globally changing all ints into shorts.
                     21:        char *progname = argv[0]; is used, and added to error messages.
                     22:        A_DOT_OUT is #defined as "a.out", is tweakable.
                     23:        One problem overcome was the search path for libraries.  Previously,
                     24:        a manifest constant string "/usr/lib/libxxxxx..." was used for the
                     25:        prefix path name;  an fopen was done on this string+4 ("/lib...")
                     26:        then on string+0 ("/usr/lib...").  This was changed to select
                     27:        colon-separated names such as the shell PATH variable in a
                     28:        #define LIBPATH "/lib:/usr/lib"
                     29:        The reason for this was that the string+4 convention was difficult
                     30:        to get around portably;  now the PDP11-on-VAX package can tweak this.
                     31:        It is NOT taken from the environment (by design decision) but can
                     32:        be replaced by a command option -Lstring, where string specifies
                     33:        the complete path.
                     34:        There is also a #define LIBPREFIX "/lib" in there which is
                     35:        tweakable by the VAX package, which would want "/11lib"
                     36:        there.  Lib files for the 11 on the vax are prefixed by "11".
                     37:        The lib file name when selected by the -l option is constructed as:
                     38:            {an element of LIBPATH} + LIBPREFIX + {-l arg} + ".a"
                     39: ranlib.c:
                     40:        ranlib needs to know what the name of the archiver is.  If your
                     41:        standard system archiver is not char-type (such as USG machines)
                     42:        then the archiver is called "car"; else the default is "ar".
                     43:        ranlib also stores progname for error messages.
                     44: as:
                     45:        Uses two #define's: A_DOT_OUT "a.out" and PASS2PGM "/lib/as2".
                     46:        These need to be changed by the PDP11-on-VAX package, but are
                     47:        the standard as defaults if left alone.
                     48: c:
                     49:        No changes by S. Hartwell.  Makefile added.
                     50: crt:
                     51:        No changes.  Copied from research; the lmul and ldiv routines
                     52:        distributed in V7 were buggy.  Note: also includes csav.s

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.