added the possibility to prepend your own libc.a before the default
authorerikb <none@none>
Tue, 11 Mar 1986 14:46:46 +0000 (14:46 +0000)
committererikb <none@none>
Tue, 11 Mar 1986 14:46:46 +0000 (14:46 +0000)
lang/cem/cemcom/cem.c

index 5e4c481..f2d832f 100644 (file)
@@ -45,8 +45,9 @@ struct arglist LD_HEAD = {
 };
 
 struct arglist LD_TAIL = {
-       3,
+       4,
        {
+               "/user1/cem/lib/libc.a",
                "/user1/cem/lib/stb.o",
                "/usr/em/lib/vax4/tail_mon",
                "/usr/em/lib/vax4/tail_em"
@@ -443,7 +444,6 @@ main(argc, argv)
                append(call, o_FILE);
                concat(call, &LD_HEAD);
                concat(call, &LDFILES);
-               append(call, library("c"));
                concat(call, &LD_TAIL);
                if (runvec(call, (char *)0)) {
                        register i = GEN_LDFILES.al_argc;