From f75536198ddfbc40ce5aeddefa217a0f14586437 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Tue, 30 Aug 2005 10:20:47 +0000 Subject: [PATCH] Minix sizing --- etc/Makefile | 2 +- etc/binary_sizes | 10 +++++++--- etc/binary_sizes.big | 13 +++++++++++++ etc/chmem.sh | 4 ---- 4 files changed, 21 insertions(+), 8 deletions(-) create mode 100644 etc/binary_sizes.big delete mode 100755 etc/chmem.sh diff --git a/etc/Makefile b/etc/Makefile index ef36bca81..fb82d332b 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -24,5 +24,5 @@ install:: for u in bin ast root; do (cd ast && tar cf - .[a-z]* ) | (cd ~$$u && tar xf - ); chown -R $$u ~$$u; done postinstall: - sh chmem.sh binary_sizes + minixsize normal diff --git a/etc/binary_sizes b/etc/binary_sizes index d8002aec1..f6f8de2fc 100644 --- a/etc/binary_sizes +++ b/etc/binary_sizes @@ -1,9 +1,13 @@ /usr/lib/i386/as 53721 -/usr/lib/i386/cg 86625 +/usr/lib/i386/cg 486625 /usr/lib/cpp.ansi 200000 /usr/lib/cv 82934 -/usr/lib/em_cemcom.ansi 958660 +/usr/lib/em_cemcom.ansi 2958660 /usr/lib/em_led 1608955 /usr/lib/em_m2 171667 -/usr/lib/em_opt 175934 +/usr/lib/em_opt 375934 /usr/lib/em_encode 20000 +/usr/lib/em_decode 20000 +/usr/lib/em_ego 20000 +/usr/lib/em_opt2 20000 +/usr/lib/em_pc 20000 diff --git a/etc/binary_sizes.big b/etc/binary_sizes.big new file mode 100644 index 000000000..f6f8de2fc --- /dev/null +++ b/etc/binary_sizes.big @@ -0,0 +1,13 @@ +/usr/lib/i386/as 53721 +/usr/lib/i386/cg 486625 +/usr/lib/cpp.ansi 200000 +/usr/lib/cv 82934 +/usr/lib/em_cemcom.ansi 2958660 +/usr/lib/em_led 1608955 +/usr/lib/em_m2 171667 +/usr/lib/em_opt 375934 +/usr/lib/em_encode 20000 +/usr/lib/em_decode 20000 +/usr/lib/em_ego 20000 +/usr/lib/em_opt2 20000 +/usr/lib/em_pc 20000 diff --git a/etc/chmem.sh b/etc/chmem.sh deleted file mode 100755 index 56176d81d..000000000 --- a/etc/chmem.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -cat "$1" | while read line -do awk '{ print "chmem =" $2 " " $1 }' -done | /bin/sh -- 2.44.0