diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/compat-4.1/Makefile libx_c/compat-4.1/Makefile
---- libx_c.post/compat-4.1/Makefile 2017-01-20 15:08:37.023597586 +1100
-+++ libx_c/compat-4.1/Makefile 2017-01-21 12:54:10.195680463 +1100
+--- libx_c.post/compat-4.1/Makefile 2017-01-21 21:23:47.550682235 +1100
++++ libx_c/compat-4.1/Makefile 2017-01-21 21:07:20.622709834 +1100
@@ -1,3 +1,5 @@
+ROOT=../../..
-+CC=gcc -g -I${ROOT}/cross/usr/include/.xify -Dx_vax -Wall -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format -Wno-maybe-uninitialized -Wno-parentheses -Wno-unused-result
++CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax
#
# Copyright (c) 1980 Regents of the University of California.
# All rights reserved. The Berkeley software License Agreement
-@@ -18,16 +20,19 @@
- TAGSFILE=tags
-
- .c.o:
-- ${CC} -p ${CFLAGS} -c $*.c
-- -ld -X -r $*.o
-- mv a.out profiled/$*.o
-- ${CC} ${CFLAGS} -c $*.c
-- -ld -x -r $*.o
-- mv a.out $*.o
--
--compat-4.1lib compat-4.1lib_p: ${OBJS}
-- @echo "building profiled compat-4.1lib"
-- @cd profiled; ar cru ../compat-4.1lib_p ${OBJS}
-+# ${CC} -p ${CFLAGS} -c $*.c
-+# -ld -X -r $*.o
-+# mv a.out profiled/$*.o
-+# ${CC} ${CFLAGS} -c $*.c
-+# -ld -x -r $*.o
-+# mv a.out $*.o
-+ ${ROOT}/xify/xify $< $*.temp.c
-+ ${CC} -o $@ -c $*.temp.c
-+
-+#compat-4.1lib compat-4.1lib_p: ${OBJS}
-+compat-4.1lib: ${OBJS}
-+# @echo "building profiled compat-4.1lib"
-+# @cd profiled; ar cru ../compat-4.1lib_p ${OBJS}
- @echo "buiding normal compat-4.1lib"
- @ar cru compat-4.1lib ${OBJS}
-
-@@ -38,7 +43,7 @@
- done
-
- clean:
-- rm -f compat-4.1lib compat-4.1lib_p *.o profiled/*.o tags Makefile.bak
-+ rm -f compat-4.1lib compat-4.1lib_p *.temp.c *.o profiled/*.o tags Makefile.bak
-
- depend:
- for i in ${SRCS}; do \
-@@ -59,4 +64,3 @@
+@@ -59,4 +61,3 @@
# DO NOT DELETE THIS LINE -- make depend uses it
-
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/compat-sys5/Makefile libx_c/compat-sys5/Makefile
---- libx_c.post/compat-sys5/Makefile 2017-01-20 15:08:37.051597659 +1100
-+++ libx_c/compat-sys5/Makefile 2017-01-21 12:54:10.199680491 +1100
+--- libx_c.post/compat-sys5/Makefile 2017-01-21 21:23:47.554682235 +1100
++++ libx_c/compat-sys5/Makefile 2017-01-21 21:07:20.626709834 +1100
@@ -1,3 +1,5 @@
+ROOT=../../..
-+CC=gcc -g -I${ROOT}/cross/usr/include/.xify -Dx_vax -Wall -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format -Wno-maybe-uninitialized -Wno-parentheses -Wno-unused-result
++CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax
# Makefile 1.5 85/09/05
#
CFLAGS= -O ${DEFS}
-@@ -10,16 +12,19 @@
- TAGSFILE=tags
-
- .c.o:
-- ${CC} -p ${CFLAGS} -c $*.c
-- -ld -X -r $*.o
-- mv a.out profiled/$*.o
-- ${CC} ${CFLAGS} -c $*.c
-- -ld -x -r $*.o
-- mv a.out $*.o
--
--compat-sys5lib compat-sys5lib_p: ${OBJS}
-- @echo "building profiled compat-sys5lib"
-- @cd profiled; ar cru ../compat-sys5lib_p ${OBJS}
-+# ${CC} -p ${CFLAGS} -c $*.c
-+# -ld -X -r $*.o
-+# mv a.out profiled/$*.o
-+# ${CC} ${CFLAGS} -c $*.c
-+# -ld -x -r $*.o
-+# mv a.out $*.o
-+ ${ROOT}/xify/xify $< $*.temp.c
-+ ${CC} -o $@ -c $*.temp.c
-+
-+#compat-sys5lib compat-sys5lib_p: ${OBJS}
-+compat-sys5lib: ${OBJS}
-+# @echo "building profiled compat-sys5lib"
-+# @cd profiled; ar cru ../compat-sys5lib_p ${OBJS}
- @echo "buiding normal compat-sys5lib"
- @ar cru compat-sys5lib ${OBJS}
-
-@@ -30,7 +35,7 @@
- done
-
- clean:
-- rm -f compat-sys5lib compat-sys5lib_p *.o profiled/*.o Makefile.bak
-+ rm -f compat-sys5lib compat-sys5lib_p *.temp.c *.o profiled/*.o Makefile.bak
-
- depend:
- for i in ${SRCS}; do \
-@@ -51,22 +56,3 @@
+@@ -51,22 +53,3 @@
# DO NOT DELETE THIS LINE -- make depend uses it
-# IF YOU PUT STUFF HERE IT WILL GO AWAY
-# see make depend above
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/gen/bcopy.c libx_c/gen/bcopy.c
---- libx_c.post/gen/bcopy.c 2017-01-20 15:08:37.051597659 +1100
-+++ libx_c/gen/bcopy.c 2017-01-20 15:08:37.059597681 +1100
+--- libx_c.post/gen/bcopy.c 2017-01-21 21:23:47.554682235 +1100
++++ libx_c/gen/bcopy.c 2017-01-21 21:03:58.114734092 +1100
@@ -1,6 +1,12 @@
#include <gen.h>
#include <sys/types.h>
*--dst = *--src;
while (--length);
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/gen/getpass.c libx_c/gen/getpass.c
---- libx_c.post/gen/getpass.c 2017-01-20 15:08:37.051597659 +1100
-+++ libx_c/gen/getpass.c 2017-01-20 15:08:37.059597681 +1100
+--- libx_c.post/gen/getpass.c 2017-01-21 21:23:47.554682235 +1100
++++ libx_c/gen/getpass.c 2017-01-21 21:03:58.114734092 +1100
@@ -20,7 +20,7 @@
FILE *fi;
static char pbuf[9];
if ((fi = fdopen(open("/dev/tty", 2), "r")) == NULL)
fi = stdin;
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/gen/getpwnamuid.c libx_c/gen/getpwnamuid.c
---- libx_c.post/gen/getpwnamuid.c 2017-01-20 15:08:37.051597659 +1100
-+++ libx_c/gen/getpwnamuid.c 2017-01-20 15:08:37.059597681 +1100
+--- libx_c.post/gen/getpwnamuid.c 2017-01-21 21:23:47.554682235 +1100
++++ libx_c/gen/getpwnamuid.c 2017-01-21 21:03:58.114734092 +1100
@@ -44,19 +44,37 @@
cp = key.dptr;
tp = line;
}
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/gen/Makefile libx_c/gen/Makefile
---- libx_c.post/gen/Makefile 2017-01-20 15:08:37.051597659 +1100
-+++ libx_c/gen/Makefile 2017-01-21 12:54:10.199680491 +1100
+--- libx_c.post/gen/Makefile 2017-01-21 21:23:47.558682235 +1100
++++ libx_c/gen/Makefile 2017-01-21 21:09:13.922699224 +1100
@@ -1,3 +1,5 @@
+ROOT=../../..
-+CC=gcc -g -I${ROOT}/cross/usr/include/.xify -Dx_vax -Wall -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format -Wno-maybe-uninitialized -Wno-parentheses -Wno-unused-result
++CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax
#
# Copyright (c) 1980 Regents of the University of California.
# All rights reserved. The Berkeley software License Agreement
-@@ -5,66 +7,59 @@
+@@ -5,44 +7,34 @@
#
# @(#)Makefile 5.7 (Berkeley) 3/26/86
#
TAGSFILE=tags
.c.o:
-- ${CC} -p ${CFLAGS} -c $*.c
-- -ld -X -r $*.o
-- mv a.out profiled/$*.o
-- ${CC} ${CFLAGS} -c $*.c
-- -ld -x -r $*.o
-- mv a.out $*.o
-+# ${CC} -p ${CFLAGS} -c $*.c
-+# -ld -X -r $*.o
-+# mv a.out profiled/$*.o
-+# ${CC} ${CFLAGS} -c $*.c
-+# -ld -x -r $*.o
-+# mv a.out $*.o
-+ ${ROOT}/xify/xify $< $*.temp.c
-+ ${CC} -o $@ -c $*.temp.c
-
- genlib genlib_p: ${OBJS}
-- @echo "building profiled genlib"
-- @cd profiled; ar cru ../genlib_p ${OBJS}
-+genlib: ${OBJS}
-+# @echo "building profiled genlib"
-+# @cd profiled; ar cru ../genlib_p ${OBJS}
+@@ -59,12 +51,12 @@
@echo "buiding normal genlib"
@ar cru genlib ${OBJS}
tags:
cwd=`pwd`; \
-@@ -73,7 +68,7 @@
- done
-
- clean:
-- rm -f genlib genlib_p *.o profiled/*.o tags Makefile.bak
-+ rm -f genlib genlib_p *.temp.c *.o profiled/*.o tags Makefile.bak
-
- depend:
- for i in ${SRCS}; do \
-@@ -94,106 +89,3 @@
+@@ -94,106 +86,3 @@
# DO NOT DELETE THIS LINE -- make depend uses it
-# IF YOU PUT STUFF HERE IT WILL GO AWAY
-# see make depend above
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/gen/malloc.c libx_c/gen/malloc.c
---- libx_c.post/gen/malloc.c 2017-01-20 15:08:37.051597659 +1100
-+++ libx_c/gen/malloc.c 2017-01-20 15:08:37.059597681 +1100
+--- libx_c.post/gen/malloc.c 2017-01-21 21:23:47.554682235 +1100
++++ libx_c/gen/malloc.c 2017-01-21 21:03:58.118734092 +1100
@@ -4,6 +4,12 @@
#include <sys/proc.h>
#include <sys/types.h>
/*
* Add new memory allocated to that on
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/gen/ndbm.c libx_c/gen/ndbm.c
---- libx_c.post/gen/ndbm.c 2017-01-20 15:08:37.051597659 +1100
-+++ libx_c/gen/ndbm.c 2017-01-20 15:08:37.059597681 +1100
+--- libx_c.post/gen/ndbm.c 2017-01-21 21:23:47.554682235 +1100
++++ libx_c/gen/ndbm.c 2017-01-21 21:03:58.118734092 +1100
@@ -70,14 +70,14 @@
flags = (flags & ~03) | O_RDWR;
strcpy(db->dbm_pagbuf, file);
va_end(argp);
if (db->dbm_dirf < 0)
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/gen/qsort.c libx_c/gen/qsort.c
---- libx_c.post/gen/qsort.c 2017-01-20 15:08:37.051597659 +1100
-+++ libx_c/gen/qsort.c 2017-01-20 15:08:37.059597681 +1100
+--- libx_c.post/gen/qsort.c 2017-01-21 21:23:47.554682235 +1100
++++ libx_c/gen/qsort.c 2017-01-21 21:03:58.118734092 +1100
@@ -36,7 +36,7 @@
static void qst __P((char *base, char *max));
register char c, *i, *j, *lo, *hi;
char *min, *max;
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/gen/scandir.c libx_c/gen/scandir.c
---- libx_c.post/gen/scandir.c 2017-01-20 15:08:37.051597659 +1100
-+++ libx_c/gen/scandir.c 2017-01-20 15:08:37.059597681 +1100
+--- libx_c.post/gen/scandir.c 2017-01-21 21:23:47.554682235 +1100
++++ libx_c/gen/scandir.c 2017-01-21 21:03:58.118734092 +1100
@@ -24,7 +24,7 @@
/*#include <sys/stat.h>*/
/*#include <sys/dir.h>*/
return(nitems);
}
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/gen/signal.c libx_c/gen/signal.c
---- libx_c.post/gen/signal.c 2017-01-20 15:08:37.051597659 +1100
-+++ libx_c/gen/signal.c 2017-01-20 15:08:37.063597691 +1100
+--- libx_c.post/gen/signal.c 2017-01-21 21:23:47.554682235 +1100
++++ libx_c/gen/signal.c 2017-01-21 21:03:58.118734092 +1100
@@ -15,12 +15,12 @@
*/
/*#include <signal.h>*/
+ return ((void (*) __P((int sig)))osv.sv_handler);
}
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/gen/sleep.c libx_c/gen/sleep.c
---- libx_c.post/gen/sleep.c 2017-01-20 15:08:37.051597659 +1100
-+++ libx_c/gen/sleep.c 2017-01-20 15:08:37.063597691 +1100
+--- libx_c.post/gen/sleep.c 2017-01-21 21:23:47.554682235 +1100
++++ libx_c/gen/sleep.c 2017-01-21 21:03:58.118734092 +1100
@@ -15,7 +15,7 @@
/*#include <signal.h>*/
static int ringring;
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/gen/system.c libx_c/gen/system.c
---- libx_c.post/gen/system.c 2017-01-20 15:08:37.051597659 +1100
-+++ libx_c/gen/system.c 2017-01-20 15:08:37.063597691 +1100
+--- libx_c.post/gen/system.c 2017-01-21 21:23:47.554682235 +1100
++++ libx_c/gen/system.c 2017-01-21 21:03:58.118734092 +1100
@@ -11,7 +11,7 @@
int system(s) char *s; {
if ((pid = vfork()) == 0) {
execl("/bin/sh", "sh", "-c", s, 0);
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/gen/usleep.c libx_c/gen/usleep.c
---- libx_c.post/gen/usleep.c 2017-01-20 15:08:37.051597659 +1100
-+++ libx_c/gen/usleep.c 2017-01-20 15:08:37.063597691 +1100
+--- libx_c.post/gen/usleep.c 2017-01-21 21:23:47.554682235 +1100
++++ libx_c/gen/usleep.c 2017-01-21 21:03:58.118734092 +1100
@@ -18,7 +18,7 @@
#define TICK 10000 /* system clock resolution in microseconds */
static int ringring;
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/gen/valloc.c libx_c/gen/valloc.c
---- libx_c.post/gen/valloc.c 2017-01-20 15:08:37.051597659 +1100
-+++ libx_c/gen/valloc.c 2017-01-20 15:08:37.063597691 +1100
+--- libx_c.post/gen/valloc.c 2017-01-21 21:23:47.554682235 +1100
++++ libx_c/gen/valloc.c 2017-01-21 21:03:58.118734092 +1100
@@ -1,6 +1,12 @@
#include <gen.h>
#include <sys.h>
return ((char *)j);
}
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/gen.h libx_c/gen.h
---- libx_c.post/gen.h 2017-01-20 15:08:37.027597596 +1100
-+++ libx_c/gen.h 2017-01-20 15:08:37.063597691 +1100
+--- libx_c.post/gen.h 2017-01-21 21:23:47.538682234 +1100
++++ libx_c/gen.h 2017-01-21 21:03:58.118734092 +1100
@@ -108,7 +108,7 @@
char *mktemp __P((char *as));
/* gen/random.c */
int srandom __P((unsigned x));
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/inet/Makefile libx_c/inet/Makefile
---- libx_c.post/inet/Makefile 2017-01-20 15:08:37.027597596 +1100
-+++ libx_c/inet/Makefile 2017-01-21 12:54:10.199680491 +1100
+--- libx_c.post/inet/Makefile 2017-01-21 21:23:47.554682235 +1100
++++ libx_c/inet/Makefile 2017-01-21 21:07:20.626709834 +1100
@@ -1,3 +1,5 @@
+ROOT=../../..
-+CC=gcc -g -I${ROOT}/cross/usr/include/.xify -Dx_vax -Wall -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format -Wno-maybe-uninitialized -Wno-parentheses -Wno-unused-result
++CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax
#
# Copyright (c) 1980 Regents of the University of California.
# All rights reserved. The Berkeley software License Agreement
-@@ -16,16 +18,19 @@
- TAGSFILE=tags
-
- .c.o:
-- ${CC} -p -c ${CFLAGS} $*.c
-- -ld -X -r $*.o
-- mv a.out profiled/$*.o
-- ${CC} ${CFLAGS} -c $*.c
-- -ld -x -r $*.o
-- mv a.out $*.o
--
--inetlib inetlib_p: ${OBJS}
-- @echo "building profiled inetlib"
-- @cd profiled; ar cru ../inetlib_p ${OBJS}
-+# ${CC} -p -c ${CFLAGS} $*.c
-+# -ld -X -r $*.o
-+# mv a.out profiled/$*.o
-+# ${CC} ${CFLAGS} -c $*.c
-+# -ld -x -r $*.o
-+# mv a.out $*.o
-+ ${ROOT}/xify/xify $< $*.temp.c
-+ ${CC} -o $@ -c $*.temp.c
-+
-+#inetlib inetlib_p: ${OBJS}
-+inetlib: ${OBJS}
-+# @echo "building profiled inetlib"
-+# @cd profiled; ar cru ../inetlib_p ${OBJS}
- @echo "building normal inetlib"
- @ar cru inetlib ${OBJS}
-
-@@ -36,7 +41,7 @@
- done
-
- clean:
-- rm -f inetlib inetlib_p *.o profiled/*.o errs a.out core \
-+ rm -f inetlib inetlib_p *.temp.c *.o profiled/*.o errs a.out core \
- tags Makefile.bak
-
- depend:
-@@ -58,14 +63,3 @@
+@@ -58,14 +60,3 @@
# DO NOT DELETE THIS LINE -- make depend uses it
-# see make depend above
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/csu/crt0.c libx_c/linux/csu/crt0.c
--- libx_c.post/linux/csu/crt0.c 1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/linux/csu/crt0.c 2017-01-20 15:08:37.063597691 +1100
++++ libx_c/linux/csu/crt0.c 2017-01-21 21:03:58.118734092 +1100
@@ -0,0 +1,19 @@
+#include <stdio.h>
+
+}
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/csu/Makefile libx_c/linux/csu/Makefile
--- libx_c.post/linux/csu/Makefile 1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/linux/csu/Makefile 2017-01-21 12:54:10.195680463 +1100
-@@ -0,0 +1,97 @@
++++ libx_c/linux/csu/Makefile 2017-01-21 21:20:06.882676352 +1100
+@@ -0,0 +1,104 @@
+ROOT=../../../..
-+CC=gcc -g -I${ROOT}/cross/usr/include/.xify -Dx_vax -Wall -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format -Wno-maybe-uninitialized -Wno-parentheses -Wno-unused-result
++CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax
+DESTDIR=${ROOT}/cross
+#
+# Copyright (c) 1980 Regents of the University of California.
+#DESTDIR=
+SRCS= crt0.c
+# mon.c gmon.c
-+OBJS= crt0.o
-+# mcrt0.o gcrt0.o mon.o gmon.o
++OBJS= crt0.o mcrt0.o gcrt0.o
++# mon.o gmon.o
+TAGSFILE=tags
+
+all: ${OBJS}
+
+install: ${OBJS}
+ mv crt0.o ${DESTDIR}/lib/crt0.o
-+# mv mcrt0.o ${DESTDIR}/lib/mcrt0.o
-+# mv gcrt0.o ${DESTDIR}/usr/lib/gcrt0.o
++ mv mcrt0.o ${DESTDIR}/lib/mcrt0.o
++ mv gcrt0.o ${DESTDIR}/usr/lib/gcrt0.o
++
++crt0.o: crt0.c
++ ${CC} -DCRT0 -c crt0.c
+
-+crt0.o: crt0.c
++mcrt0.o: crt0.c
++ ${CC} -DMCRT0 -o $@ -c crt0.c
++
++gcrt0.o: crt0.c
++ ${CC} -DGCRT0 -o $@ -c crt0.c
++
++#crt0.o: crt0.c
+# cc -S ${DFLAGS} -DCRT0 crt0.c
+# /lib/cpp crt0.s > x.s
+# as -o x.o x.s
+# ld -x -r -o crt0.o x.o
+# rm -f x.s x.o crt0.s
-+ ${ROOT}/xify/xify $< $*.temp.c
-+ ${CC} -o $@ -c $*.temp.c
-+
++#
+#moncrt0.o: crt0.c
+# cc -S ${DFLAGS} -DMCRT0 crt0.c
+# /lib/cpp crt0.s > x.s
+ done
+
+clean:
-+ rm -f ${OBJS} *.o *.s *.temp.c core errs tags Makefile.bak
++ rm -f ${OBJS} *.o *.s core errs tags Makefile.bak
+
+lint: crt0.c
+ lint crt0.c -DMCRT0
+
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/gen/abort.c libx_c/linux/gen/abort.c
--- libx_c.post/linux/gen/abort.c 1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/linux/gen/abort.c 2017-01-20 15:08:37.063597691 +1100
++++ libx_c/linux/gen/abort.c 2017-01-21 21:03:58.118734092 +1100
@@ -0,0 +1,7 @@
+#include <nox_stdlib.h>
+
+}
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/gen/Makefile libx_c/linux/gen/Makefile
--- libx_c.post/linux/gen/Makefile 1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/linux/gen/Makefile 2017-01-21 12:54:10.199680491 +1100
-@@ -0,0 +1,55 @@
++++ libx_c/linux/gen/Makefile 2017-01-21 21:10:33.190693023 +1100
+@@ -0,0 +1,52 @@
+ROOT=../../../..
-+CC=gcc -g -I${ROOT}/cross/usr/include/.xify -Dx_vax -Wall -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format -Wno-maybe-uninitialized -Wno-parentheses -Wno-unused-result
++CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax
+#
+# Copyright (c) 1980 Regents of the University of California.
+# All rights reserved. The Berkeley software License Agreement
+TAGSFILE=tags
+
+.c.o:
-+# /lib/cpp -E ${DEFS} -DPROF $*.c | ${AS} -o $*.o
-+# -ld -x -r $*.o
-+# mv a.out profiled/$*.o
-+# /lib/cpp -E ${DEFS} $*.c | ${AS} -o $*.o
-+# -ld -x -r $*.o
-+# mv a.out $*.o
-+ ${ROOT}/xify/xify $< $*.temp.c
-+ ${CC} -o $@ -c $*.temp.c
-+
-+#genlib genlib_p: ${OBJS}
-+genlib: ${OBJS}
-+# @echo "building profiled genlib_p"
-+# @cd profiled; ar cru ../genlib_p ${OBJS}
-+ @echo "building normal genlib_p"
++ ${CC} -p ${CFLAGS} -c $*.c
++ -ld -X -r $*.o
++ mv a.out profiled/$*.o
++ ${CC} ${CFLAGS} -c $*.c
++ -ld -x -r $*.o
++ mv a.out $*.o
++
++genlib genlib_p: ${OBJS}
++ @echo "building profiled genlib"
++ @cd profiled; ar cru ../genlib_p ${OBJS}
++ @echo "building normal genlib"
+ @ar cru genlib ${OBJS}
+
+tags:
+
+clean:
-+ rm -f genlib genlib_p *.temp.c ${OBJS} profiled/*.o tags Makefile.bak
++ rm -f genlib genlib_p ${OBJS} profiled/*.o tags Makefile.bak
+
+depend:
+ for i in ${SRCS}; do \
+
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/gen/modf.c libx_c/linux/gen/modf.c
--- libx_c.post/linux/gen/modf.c 1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/linux/gen/modf.c 2017-01-20 15:08:37.063597691 +1100
++++ libx_c/linux/gen/modf.c 2017-01-21 21:03:58.118734092 +1100
@@ -0,0 +1,7 @@
+#include <nox_math.h>
+
+}
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/Makefile libx_c/linux/Makefile
--- libx_c.post/linux/Makefile 1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/linux/Makefile 2017-01-21 12:54:10.199680491 +1100
++++ libx_c/linux/Makefile 2017-01-21 21:18:36.878675836 +1100
@@ -0,0 +1,43 @@
+#
+# Copyright (c) 1980 Regents of the University of California.
+#gen net stdio sys ${COMPAT}
+TAGSFILE=tags
+
-+#linuxlib linuxlib_p: ${ALL}
-+linuxlib: ${ALL}
++linuxlib linuxlib_p: ${ALL}
+ -mkdir tmp
+ for i in ${ALL}; do (cd tmp; ar x ../$$i/$${i}lib); done
+# ar cr linuxlib `ls tmp/*.o | sort -t/ +1`
+ ar cr linuxlib `ls tmp/*.o | LC_ALL=C sort -t/`
-+# rm -f tmp/*
-+# for i in ${ALL}; do (cd tmp; ar x ../$$i/$${i}lib_p); done
++ rm -f tmp/*
++ for i in ${ALL}; do (cd tmp; ar x ../$$i/$${i}lib_p); done
+# ar cr linuxlib_p `ls tmp/*.o | sort -t/ +1`
++ ar cr linuxlib_p `ls tmp/*.o | LC_ALL=C sort -t/`
+ rm -rf tmp
+
+${ALL}: FRC
+ (cd $$i; make ${MFLAGS} DEFS=${DEFS} depend); done
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/sys/close.c libx_c/linux/sys/close.c
--- libx_c.post/linux/sys/close.c 1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/linux/sys/close.c 2017-01-20 15:08:37.063597691 +1100
++++ libx_c/linux/sys/close.c 2017-01-21 21:03:58.118734092 +1100
@@ -0,0 +1,13 @@
+#include <nox_unistd.h>
+
+}
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/sys/_exit.c libx_c/linux/sys/_exit.c
--- libx_c.post/linux/sys/_exit.c 1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/linux/sys/_exit.c 2017-01-20 15:08:37.063597691 +1100
++++ libx_c/linux/sys/_exit.c 2017-01-21 21:03:58.118734092 +1100
@@ -0,0 +1,7 @@
+#include <nox_unistd.h>
+
+}
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/sys/fstat.c libx_c/linux/sys/fstat.c
--- libx_c.post/linux/sys/fstat.c 1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/linux/sys/fstat.c 2017-01-20 15:08:37.063597691 +1100
++++ libx_c/linux/sys/fstat.c 2017-01-21 21:03:58.118734092 +1100
@@ -0,0 +1,17 @@
+#include <sys/nox_stat.h>
+#include <nox_unistd.h>
+}
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/sys/getpagesize.c libx_c/linux/sys/getpagesize.c
--- libx_c.post/linux/sys/getpagesize.c 1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/linux/sys/getpagesize.c 2017-01-20 15:08:37.063597691 +1100
++++ libx_c/linux/sys/getpagesize.c 2017-01-21 21:03:58.118734092 +1100
@@ -0,0 +1,7 @@
+#include <nox_unistd.h>
+
+}
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/sys/isatty.c libx_c/linux/sys/isatty.c
--- libx_c.post/linux/sys/isatty.c 1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/linux/sys/isatty.c 2017-01-20 15:08:37.063597691 +1100
++++ libx_c/linux/sys/isatty.c 2017-01-21 21:03:58.118734092 +1100
@@ -0,0 +1,13 @@
+#include <nox_unistd.h>
+
+}
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/sys/lseek.c libx_c/linux/sys/lseek.c
--- libx_c.post/linux/sys/lseek.c 1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/linux/sys/lseek.c 2017-01-20 15:08:37.063597691 +1100
++++ libx_c/linux/sys/lseek.c 2017-01-21 21:03:58.118734092 +1100
@@ -0,0 +1,15 @@
+#include <nox_unistd.h>
+#include <sys/nox_types.h>
+}
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/sys/Makefile libx_c/linux/sys/Makefile
--- libx_c.post/linux/sys/Makefile 1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/linux/sys/Makefile 2017-01-21 12:54:10.199680491 +1100
-@@ -0,0 +1,57 @@
++++ libx_c/linux/sys/Makefile 2017-01-21 21:10:02.274695320 +1100
+@@ -0,0 +1,54 @@
+ROOT=../../../..
-+CC=gcc -g -I${ROOT}/cross/usr/include/.xify -Dx_vax -Wall -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format -Wno-maybe-uninitialized -Wno-parentheses -Wno-unused-result
++CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax
+#
+# Copyright (c) 1980 Regents of the University of California.
+# All rights reserved. The Berkeley software License Agreement
+TAGSFILE=tags
+
+.c.o:
-+# /lib/cpp -E ${DEFS} -DPROF $*.c | ${AS} -o $*.o
-+# -ld -x -r $*.o
-+# mv a.out profiled/$*.o
-+# /lib/cpp -E ${DEFS} $*.c | ${AS} -o $*.o
-+# -ld -x -r $*.o
-+# mv a.out $*.o
-+ ${ROOT}/xify/xify $< $*.temp.c
-+ ${CC} -o $@ -c $*.temp.c
-+
-+#syslib syslib_p: ${OBJS}
-+syslib: ${OBJS}
-+# @echo "building profiled syslib_p"
-+# @cd profiled; ar cru ../syslib_p ${OBJS}
-+ @echo "building normal syslib_p"
++ ${CC} -p ${CFLAGS} -c $*.c
++ -ld -X -r $*.o
++ mv a.out profiled/$*.o
++ ${CC} ${CFLAGS} -c $*.c
++ -ld -x -r $*.o
++ mv a.out $*.o
++
++syslib syslib_p: ${OBJS}
++ @echo "building profiled syslib"
++ @cd profiled; ar cru ../syslib_p ${OBJS}
++ @echo "building normal syslib"
+ @ar cru syslib ${OBJS}
+
+tags:
+
+clean:
-+ rm -f syslib syslib_p *.temp.c ${OBJS} profiled/*.o tags Makefile.bak
++ rm -f syslib syslib_p ${OBJS} profiled/*.o tags Makefile.bak
+
+depend:
+ for i in ${SRCS}; do \
+
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/sys/read.c libx_c/linux/sys/read.c
--- libx_c.post/linux/sys/read.c 1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/linux/sys/read.c 2017-01-20 15:08:37.063597691 +1100
++++ libx_c/linux/sys/read.c 2017-01-21 21:03:58.118734092 +1100
@@ -0,0 +1,15 @@
+#include <nox_unistd.h>
+
+}
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/sys/readv.c libx_c/linux/sys/readv.c
--- libx_c.post/linux/sys/readv.c 1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/linux/sys/readv.c 2017-01-20 15:08:37.063597691 +1100
++++ libx_c/linux/sys/readv.c 2017-01-21 21:03:58.118734092 +1100
@@ -0,0 +1,26 @@
+#include <nox_unistd.h>
+#include <sys/nox_uio.h>
+}
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/sys/sbrk.c libx_c/linux/sys/sbrk.c
--- libx_c.post/linux/sys/sbrk.c 1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/linux/sys/sbrk.c 2017-01-20 15:08:37.063597691 +1100
++++ libx_c/linux/sys/sbrk.c 2017-01-21 21:03:58.118734092 +1100
@@ -0,0 +1,14 @@
+#include <nox_stdint.h>
+#include <nox_unistd.h>
+}
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/sys/vopen.c libx_c/linux/sys/vopen.c
--- libx_c.post/linux/sys/vopen.c 1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/linux/sys/vopen.c 2017-01-20 15:08:37.063597691 +1100
++++ libx_c/linux/sys/vopen.c 2017-01-21 21:03:58.118734092 +1100
@@ -0,0 +1,49 @@
+#include <nox_fcntl.h>
+
+}
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/sys/write.c libx_c/linux/sys/write.c
--- libx_c.post/linux/sys/write.c 1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/linux/sys/write.c 2017-01-20 15:08:37.063597691 +1100
++++ libx_c/linux/sys/write.c 2017-01-21 21:03:58.118734092 +1100
@@ -0,0 +1,15 @@
+#include <nox_unistd.h>
+
+}
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/sys/writev.c libx_c/linux/sys/writev.c
--- libx_c.post/linux/sys/writev.c 1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/linux/sys/writev.c 2017-01-20 15:08:37.063597691 +1100
++++ libx_c/linux/sys/writev.c 2017-01-21 21:03:58.118734092 +1100
@@ -0,0 +1,26 @@
+#include <nox_unistd.h>
+#include <sys/nox_uio.h>
+ return res;
+}
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/Makefile libx_c/Makefile
---- libx_c.post/Makefile 2017-01-20 15:08:37.027597596 +1100
-+++ libx_c/Makefile 2017-01-21 13:04:29.367675920 +1100
+--- libx_c.post/Makefile 2017-01-21 21:23:47.538682234 +1100
++++ libx_c/Makefile 2017-01-21 21:19:35.970676049 +1100
@@ -1,3 +1,5 @@
+ROOT=${shell pwd}/../..
+DESTDIR=${ROOT}/cross
#
# Copyright (c) 1980 Regents of the University of California.
# All rights reserved. The Berkeley software License Agreement
-@@ -39,31 +41,35 @@
+@@ -39,29 +41,35 @@
#HOSTLOOKUP= hosttable
HOSTLOOKUP= named
#
+# ${MACHINE}/csu/${DFLMON}
ar ma findiop.o libc.a exit.o
ar ma exit.o libc.a fakcu.o
-- rm -f t1 tmp/*
-- for i in ${ALL}; do (cd tmp; ar x ../$$i/$${i}lib_p); done
-- cd tmp; ar x ../net/${HOSTLOOKUP}/hostlib_p
+ rm -f t1 tmp/*
+ for i in ${ALL}; do (cd tmp; ar x ../$$i/$${i}lib_p); done
+ cd tmp; ar x ../net/${HOSTLOOKUP}/hostlib_p
- ls tmp/*.o | sort -t/ +1 > t1
- ar cr libc_p.a `lorder \`cat t1\` | tsort` ${MACHINE}/csu/${DFLMON}
-- ar ma findiop.o libc_p.a exit.o
-- ar ma exit.o libc_p.a fakcu.o
-+# rm -f t1 tmp/*
-+# for i in ${ALL}; do (cd tmp; ar x ../$$i/$${i}lib_p); done
-+# cd tmp; ar x ../net/${HOSTLOOKUP}/hostlib_p
+# ls tmp/*.o | sort -t/ +1 > t1
-+# ar cr libc_p.a `lorder \`cat t1\` | tsort` ${MACHINE}/csu/${DFLMON}
-+# ar ma findiop.o libc_p.a exit.o
-+# ar ma exit.o libc_p.a fakcu.o
++ ls tmp/*.o | LC_ALL=C sort -t/ > t1
++ ar cr libc_p.a `lorder \`cat t1\` | tsort`
++# ${MACHINE}/csu/${DFLMON}
+ ar ma findiop.o libc_p.a exit.o
+ ar ma exit.o libc_p.a fakcu.o
rm -rf t1 tmp
-
- ${MACHINE}/csu ${ALL} net/${HOSTLOOKUP}: FRC
-@@ -71,11 +77,43 @@
+@@ -71,11 +79,46 @@
FRC:
+install:
${INSTALL} libc.a ${DESTDIR}/lib/libc.a
ranlib ${DESTDIR}/lib/libc.a
-- ${INSTALL} libc_p.a ${DESTDIR}/usr/lib/libc_p.a
-- ranlib ${DESTDIR}/usr/lib/libc_p.a
+ mkdir -p ${DESTDIR}/lib/.xify
+ ${INSTALL} libc.a ${DESTDIR}/lib/.xify/libx_c.a
+ ranlib ${DESTDIR}/lib/.xify/libx_c.a
-+# ${INSTALL} libc_p.a ${DESTDIR}/usr/lib/libc_p.a
-+# ranlib ${DESTDIR}/usr/lib/libc_p.a
+ ${INSTALL} libc_p.a ${DESTDIR}/usr/lib/libc_p.a
+ ranlib ${DESTDIR}/usr/lib/libc_p.a
++ mkdir -p ${DESTDIR}/usr/lib/.xify
++ ${INSTALL} libc_p.a ${DESTDIR}/usr/lib/.xify/libx_c_p.a
++ ranlib ${DESTDIR}/usr/lib/.xify/libx_c_p.a
cd ${MACHINE}/csu; make DESTDIR=${DESTDIR} install
tags:
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/net/hosttable/Makefile libx_c/net/hosttable/Makefile
---- libx_c.post/net/hosttable/Makefile 2017-01-20 15:08:37.023597586 +1100
-+++ libx_c/net/hosttable/Makefile 2017-01-21 12:54:10.195680463 +1100
+--- libx_c.post/net/hosttable/Makefile 2017-01-21 21:23:47.550682235 +1100
++++ libx_c/net/hosttable/Makefile 2017-01-21 21:07:20.626709834 +1100
@@ -1,3 +1,5 @@
+ROOT=../../../..
-+CC=gcc -g -I${ROOT}/cross/usr/include/.xify -Dx_vax -Wall -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format -Wno-maybe-uninitialized -Wno-parentheses -Wno-unused-result
++CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax
#
# Copyright (c) 1983 Regents of the University of California.
-@@ -12,16 +14,18 @@
- CFLAGS= -O ${DEFS}
-
- .c.o:
-- ${CC} -p -c ${CFLAGS} $*.c
-- -ld -X -r $*.o
-- mv a.out profiled/$*.o
-- ${CC} ${CFLAGS} -c $*.c
-- -ld -x -r $*.o
-- mv a.out $*.o
-+# ${CC} -p -c ${CFLAGS} $*.c
-+# -ld -X -r $*.o
-+# mv a.out profiled/$*.o
-+# ${CC} ${CFLAGS} -c $*.c
-+# -ld -x -r $*.o
-+# mv a.out $*.o
-+ ${ROOT}/xify/xify $< $*.temp.c
-+ ${CC} -o $@ -c $*.temp.c
-
- hostlib hostlib_p: ${OBJS}
-- @echo "building profiled hostlib"
-- @cd profiled; ar cru ../hostlib_p ${OBJS}
-+# @echo "building profiled hostlib"
-+# @cd profiled; ar cru ../hostlib_p ${OBJS}
- @echo "building normal netlib"
- @ar cru hostlib ${OBJS}
-
-@@ -32,7 +36,7 @@
- done
-
- clean:
-- rm -f *.o errs a.out core hostlib hostlib_p profiled/*.o \
-+ rm -f *.temp.c *.o errs a.out core hostlib hostlib_p profiled/*.o \
- tags Makefile.bak
-
- depend:
-@@ -54,11 +58,3 @@
+@@ -54,11 +56,3 @@
# DO NOT DELETE THIS LINE -- make depend uses it
-# IF YOU PUT STUFF HERE IT WILL GO AWAY
-# see make depend above
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/net/Makefile libx_c/net/Makefile
---- libx_c.post/net/Makefile 2017-01-20 15:08:37.023597586 +1100
-+++ libx_c/net/Makefile 2017-01-21 12:54:10.195680463 +1100
+--- libx_c.post/net/Makefile 2017-01-21 21:23:47.550682235 +1100
++++ libx_c/net/Makefile 2017-01-21 21:07:20.626709834 +1100
@@ -1,3 +1,5 @@
+ROOT=../../..
-+CC=gcc -g -I${ROOT}/cross/usr/include/.xify -Dx_vax -Wall -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format -Wno-maybe-uninitialized -Wno-parentheses -Wno-unused-result
++CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax
#
# Copyright (c) 1983 Regents of the University of California.
# All rights reserved. The Berkeley software License Agreement
-@@ -21,16 +23,19 @@
- TAGSFILE=tags
-
- .c.o:
-- ${CC} -p -c ${CFLAGS} $*.c
-- -ld -X -r $*.o
-- mv a.out profiled/$*.o
-- ${CC} ${CFLAGS} -c $*.c
-- -ld -x -r $*.o
-- mv a.out $*.o
--
--netlib netlib_p: ${OBJS}
-- @echo "building profiled netlib"
-- @cd profiled; ar cru ../netlib_p ${OBJS}
-+# ${CC} -p -c ${CFLAGS} $*.c
-+# -ld -X -r $*.o
-+# mv a.out profiled/$*.o
-+# ${CC} ${CFLAGS} -c $*.c
-+# -ld -x -r $*.o
-+# mv a.out $*.o
-+ ${ROOT}/xify/xify $< $*.temp.c
-+ ${CC} -o $@ -c $*.temp.c
-+
-+#netlib netlib_p: ${OBJS}
-+netlib: ${OBJS}
-+# @echo "building profiled netlib"
-+# @cd profiled; ar cru ../netlib_p ${OBJS}
- @echo "building normal netlib"
- @ar cru netlib ${OBJS}
-
-@@ -41,7 +46,7 @@
- done
-
- clean:
-- rm -f *.o profiled/*.o errs a.out core netlib netlib_p \
-+ rm -f *.temp.c *.o profiled/*.o errs a.out core netlib netlib_p \
- tags Makefile.bak
-
- depend:
-@@ -63,54 +68,3 @@
+@@ -63,54 +65,3 @@
# DO NOT DELETE THIS LINE -- make depend uses it
-# IF YOU PUT STUFF HERE IT WILL GO AWAY
-# see make depend above
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/net/named/gethostnamadr.c libx_c/net/named/gethostnamadr.c
---- libx_c.post/net/named/gethostnamadr.c 2017-01-20 15:08:37.027597596 +1100
-+++ libx_c/net/named/gethostnamadr.c 2017-01-20 15:08:37.063597691 +1100
+--- libx_c.post/net/named/gethostnamadr.c 2017-01-21 21:23:47.550682235 +1100
++++ libx_c/net/named/gethostnamadr.c 2017-01-21 21:03:58.118734092 +1100
@@ -12,6 +12,12 @@
#include <sys/socket.h>
#include <sys/types.h>
if (bp + n >= &hostbuf[sizeof(hostbuf)]) {
#ifdef DEBUG
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/net/named/Makefile libx_c/net/named/Makefile
---- libx_c.post/net/named/Makefile 2017-01-20 15:08:37.027597596 +1100
-+++ libx_c/net/named/Makefile 2017-01-21 12:54:10.195680463 +1100
+--- libx_c.post/net/named/Makefile 2017-01-21 21:23:47.550682235 +1100
++++ libx_c/net/named/Makefile 2017-01-21 21:07:20.626709834 +1100
@@ -1,3 +1,5 @@
+ROOT=../../../..
-+CC=gcc -g -I${ROOT}/cross/usr/include/.xify -Dx_vax -Wall -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format -Wno-maybe-uninitialized -Wno-parentheses -Wno-unused-result
++CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax
#
# Copyright (c) 1983 Regents of the University of California.
# All rights reserved. The Berkeley software License Agreement
-@@ -15,16 +17,19 @@
- DESTDIR=
-
- .c.o:
-- ${CC} -p -c ${CFLAGS} $*.c
-- -ld -X -r $*.o
-- mv a.out profiled/$*.o
-- ${CC} ${CFLAGS} -c $*.c
-- -ld -x -r $*.o
-- mv a.out $*.o
--
--hostlib hostlib_p: ${OBJS}
-- @echo "building profiled hostlib"
-- @cd profiled; ar cru ../hostlib_p ${OBJS}
-+# ${CC} -p -c ${CFLAGS} $*.c
-+# -ld -X -r $*.o
-+# mv a.out profiled/$*.o
-+# ${CC} ${CFLAGS} -c $*.c
-+# -ld -x -r $*.o
-+# mv a.out $*.o
-+ ${ROOT}/xify/xify $< $*.temp.c
-+ ${CC} -o $@ -c $*.temp.c
-+
-+#hostlib hostlib_p: ${OBJS}
-+hostlib: ${OBJS}
-+# @echo "building profiled hostlib"
-+# @cd profiled; ar cru ../hostlib_p ${OBJS}
- @echo "building normal hostlib"
- @ar cru hostlib ${OBJS}
-
-@@ -35,7 +40,7 @@
- done
-
- clean:
-- rm -f *.o errs a.out core hostlib hostlib_p profiled/*.o \
-+ rm -f *.temp.c *.o errs a.out core hostlib hostlib_p profiled/*.o \
- tags Makefile.bak
-
- depend:
-@@ -57,14 +62,3 @@
+@@ -57,14 +59,3 @@
# DO NOT DELETE THIS LINE -- make depend uses it
-# IF YOU PUT STUFF HERE IT WILL GO AWAY
-# see make depend above
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/ns/Makefile libx_c/ns/Makefile
---- libx_c.post/ns/Makefile 2017-01-20 15:08:37.019597575 +1100
-+++ libx_c/ns/Makefile 2017-01-21 12:54:10.195680463 +1100
+--- libx_c.post/ns/Makefile 2017-01-21 21:23:47.546682235 +1100
++++ libx_c/ns/Makefile 2017-01-21 21:07:20.622709834 +1100
@@ -1,3 +1,5 @@
+ROOT=../../..
-+CC=gcc -g -I${ROOT}/cross/usr/include/.xify -Dx_vax -Wall -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format -Wno-maybe-uninitialized -Wno-parentheses -Wno-unused-result
++CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax
#
# Copyright (c) 1980 Regents of the University of California.
# All rights reserved. The Berkeley software License Agreement
-@@ -12,16 +14,19 @@
- TAGSFILE=tags
-
- .c.o:
-- ${CC} -p -c ${CFLAGS} $*.c
-- -ld -X -r $*.o
-- mv a.out profiled/$*.o
-- ${CC} ${CFLAGS} -c $*.c
-- -ld -x -r $*.o
-- mv a.out $*.o
--
--nslib nslib_p: ${OBJS}
-- @echo "building profiled nslib"
-- @cd profiled; ar cru ../nslib_p ${OBJS}
-+# ${CC} -p -c ${CFLAGS} $*.c
-+# -ld -X -r $*.o
-+# mv a.out profiled/$*.o
-+# ${CC} ${CFLAGS} -c $*.c
-+# -ld -x -r $*.o
-+# mv a.out $*.o
-+ ${ROOT}/xify/xify $< $*.temp.c
-+ ${CC} -o $@ -c $*.temp.c
-+
-+#nslib nslib_p: ${OBJS}
-+nslib: ${OBJS}
-+# @echo "building profiled nslib"
-+# @cd profiled; ar cru ../nslib_p ${OBJS}
- @echo "building normal nslib"
- @ar cru nslib ${OBJS}
-
-@@ -32,7 +37,7 @@
- done
-
- clean:
-- rm -f nslib nslib_p *.o profiled/*.o errs a.out core \
-+ rm -f nslib nslib_p *.temp.c *.o profiled/*.o errs a.out core \
- tags Makefile.bak
-
- depend:
-@@ -54,8 +59,3 @@
+@@ -54,8 +56,3 @@
# DO NOT DELETE THIS LINE -- make depend uses it
-# IF YOU PUT STUFF HERE IT WILL GO AWAY
-# see make depend above
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/stdio/doprnt.c libx_c/stdio/doprnt.c
---- libx_c.post/stdio/doprnt.c 2017-01-20 15:08:37.019597575 +1100
-+++ libx_c/stdio/doprnt.c 2017-01-20 15:08:37.063597691 +1100
+--- libx_c.post/stdio/doprnt.c 2017-01-21 21:23:47.546682235 +1100
++++ libx_c/stdio/doprnt.c 2017-01-21 21:03:58.118734092 +1100
@@ -13,6 +13,14 @@
#define _va_start(argp, arg) va_start(argp)
#endif
goto nosign;
case 's':
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/stdio/findiop.c libx_c/stdio/findiop.c
---- libx_c.post/stdio/findiop.c 2017-01-20 15:08:37.019597575 +1100
-+++ libx_c/stdio/findiop.c 2017-01-20 15:08:37.063597691 +1100
+--- libx_c.post/stdio/findiop.c 2017-01-21 21:23:47.546682235 +1100
++++ libx_c/stdio/findiop.c 2017-01-21 21:03:58.118734092 +1100
@@ -105,7 +105,7 @@
*iov = (FILE *)calloc(1, sizeof **iov);
}
register FILE *fp;
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/stdio/Makefile libx_c/stdio/Makefile
---- libx_c.post/stdio/Makefile 2017-01-20 15:08:37.019597575 +1100
-+++ libx_c/stdio/Makefile 2017-01-21 12:54:10.195680463 +1100
+--- libx_c.post/stdio/Makefile 2017-01-21 21:23:47.546682235 +1100
++++ libx_c/stdio/Makefile 2017-01-21 21:08:15.646704419 +1100
@@ -1,3 +1,5 @@
+ROOT=../../..
-+CC=gcc -g -I${ROOT}/cross/usr/include/.xify -Dx_vax -Wall -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format -Wno-maybe-uninitialized -Wno-parentheses -Wno-unused-result
++CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax
#
# Copyright (c) 1980 Regents of the University of California.
# All rights reserved. The Berkeley software License Agreement
-@@ -5,48 +7,35 @@
+@@ -5,35 +7,19 @@
#
# @(#)Makefile 5.4 (Berkeley) 9/5/85
#
TAGSFILE=tags
.c.o:
-- ${CC} -p ${CFLAGS} -c $*.c
-- -ld -X -r $*.o
-- mv a.out profiled/$*.o
-- ${CC} ${CFLAGS} -c $*.c
-- -ld -x -r $*.o
-- mv a.out $*.o
--
--stdiolib stdiolib_p: ${OBJS}
-- @echo "building profiled stdiolib"
-- @cd profiled; ar cru ../stdiolib_p ${OBJS}
-+# ${CC} -p ${CFLAGS} -c $*.c
-+# -ld -X -r $*.o
-+# mv a.out profiled/$*.o
-+# ${CC} ${CFLAGS} -c $*.c
-+# -ld -x -r $*.o
-+# mv a.out $*.o
-+ ${ROOT}/xify/xify $< $*.temp.c
-+ ${CC} -o $@ -c $*.temp.c
-+
-+#stdiolib stdiolib_p: ${OBJS}
-+stdiolib: ${OBJS}
-+# @echo "building profiled stdiolib"
-+# @cd profiled; ar cru ../stdiolib_p ${OBJS}
- @echo "building normal stdiolib"
- @ar cru stdiolib ${OBJS}
-
-@@ -57,7 +46,7 @@
- done
-
- clean:
-- rm -f stdiolib stdiolib_p *.o profiled/*.o tags Makefile.bak
-+ rm -f stdiolib stdiolib_p *.temp.c *.o profiled/*.o tags Makefile.bak
-
- depend:
- for i in ${SRCS}; do \
-@@ -78,41 +67,3 @@
+@@ -78,41 +64,3 @@
# DO NOT DELETE THIS LINE -- make depend uses it
-# IF YOU PUT STUFF HERE IT WILL GO AWAY
-# see make depend above
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/stdio.h libx_c/stdio.h
---- libx_c.post/stdio.h 2017-01-20 15:08:37.031597606 +1100
-+++ libx_c/stdio.h 2017-01-21 15:03:39.049076033 +1100
+--- libx_c.post/stdio.h 2017-01-21 21:23:47.542682235 +1100
++++ libx_c/stdio.h 2017-01-21 21:03:58.122734091 +1100
@@ -82,7 +82,7 @@
#endif
/* stdio/puts.c */
int puts __P((register char *s));
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/sys/dir.h libx_c/sys/dir.h
---- libx_c.post/sys/dir.h 2017-01-20 15:08:37.035597617 +1100
-+++ libx_c/sys/dir.h 2017-01-20 15:08:37.063597691 +1100
+--- libx_c.post/sys/dir.h 2017-01-21 21:23:47.530682234 +1100
++++ libx_c/sys/dir.h 2017-01-21 21:03:58.122734091 +1100
@@ -122,7 +122,7 @@
struct direct *readdir __P((register DIR *dirp));
/* gen/seekdir.c */
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/sys/Makefile libx_c/sys/Makefile
--- libx_c.post/sys/Makefile 1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/sys/Makefile 2017-01-21 12:54:10.199680491 +1100
-@@ -0,0 +1,93 @@
++++ libx_c/sys/Makefile 2017-01-21 21:08:41.702702023 +1100
+@@ -0,0 +1,90 @@
+ROOT=../../..
-+CC=gcc -g -I${ROOT}/cross/usr/include/.xify -Dx_vax -Wall -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format -Wno-maybe-uninitialized -Wno-parentheses -Wno-unused-result
++CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax
+#
+# Copyright (c) 1980 Regents of the University of California.
+# All rights reserved. The Berkeley software License Agreement
+TAGSFILE=tags
+
+.c.o:
-+# ${CC} -p -c ${CFLAGS} $*.c
-+# -ld -X -r $*.o
-+# mv a.out profiled/$*.o
-+# ${CC} ${CFLAGS} -c $*.c
-+# -ld -x -r $*.o
-+# mv a.out $*.o
-+ ${ROOT}/xify/xify $< $*.temp.c
-+ ${CC} -o $@ -c $*.temp.c
-+
-+#syslib syslib_p: ${OBJS}
-+syslib: ${OBJS}
-+# @echo "building profiled syslib"
-+# @cd profiled; ar cru ../syslib_p ${OBJS}
++ ${CC} -p -c ${CFLAGS} $*.c
++ -ld -X -r $*.o
++ mv a.out profiled/$*.o
++ ${CC} ${CFLAGS} -c $*.c
++ -ld -x -r $*.o
++ mv a.out $*.o
++
++syslib syslib_p: ${OBJS}
++ @echo "building profiled syslib"
++ @cd profiled; ar cru ../syslib_p ${OBJS}
+ @echo "building normal syslib"
+ @ar cru syslib ${OBJS}
+
+ done
+
+clean:
-+ rm -f syslib syslib_p *.temp.c *.o profiled/*.o errs a.out core \
++ rm -f syslib syslib_p *.o profiled/*.o errs a.out core \
+ tags Makefile.bak
+
+depend:
+# DO NOT DELETE THIS LINE -- make depend uses it
+
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/sys/open.c libx_c/sys/open.c
---- libx_c.post/sys/open.c 2017-01-20 15:08:37.035597617 +1100
-+++ libx_c/sys/open.c 2017-01-20 15:08:37.067597702 +1100
+--- libx_c.post/sys/open.c 2017-01-21 21:23:47.526682234 +1100
++++ libx_c/sys/open.c 2017-01-21 21:03:58.122734091 +1100
@@ -17,7 +17,7 @@
va_list argp;
int res;
va_end(argp);
return res;
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/sys/signal.h libx_c/sys/signal.h
---- libx_c.post/sys/signal.h 2017-01-20 15:08:37.035597617 +1100
-+++ libx_c/sys/signal.h 2017-01-20 15:08:37.067597702 +1100
+--- libx_c.post/sys/signal.h 2017-01-21 21:23:47.526682234 +1100
++++ libx_c/sys/signal.h 2017-01-21 21:03:58.122734091 +1100
@@ -9,7 +9,7 @@
* @(#)signal.h 7.1 (Berkeley) 6/4/86
*/