Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/atari/floppies/common Use "-Os -m68020-60" for DBG. ...



details:   https://anonhg.NetBSD.org/src/rev/7d95b095449d
branches:  trunk
changeset: 333777:7d95b095449d
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sun Nov 16 11:54:29 2014 +0000

description:
Use "-Os -m68020-60" for DBG. It seems to generate smaller objects than -Os.

gcc48 with "-Os":
-rwxr-xr-x  1 tsutsui  wheel  1319596 Nov 16 20:50 obj.atari/instbin

gcc48 with "-Os -m68020-60"
-rwxr-xr-x  1 tsutsui  wheel  1314516 Nov 16 20:49 obj.atari/instbin

This allows ever growing sysinst.fs still fit into 1440KB even with gcc48.
Acually we need a real solution (ustarfs based floppies etc.) soon
but we can work around at least for NetBSD 7.0.

Should be pulled up to netbsd-7 (if NetBSD/m68k 7.0 will switch to gcc48).

diffstat:

 distrib/atari/floppies/common/Makefile.images |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f2f0064e9767 -r 7d95b095449d distrib/atari/floppies/common/Makefile.images
--- a/distrib/atari/floppies/common/Makefile.images     Sun Nov 16 10:20:21 2014 +0000
+++ b/distrib/atari/floppies/common/Makefile.images     Sun Nov 16 11:54:29 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.images,v 1.8 2010/02/21 20:06:19 tsutsui Exp $
+#      $NetBSD: Makefile.images,v 1.9 2014/11/16 11:54:29 tsutsui Exp $
 
 .include <bsd.own.mk>
 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -6,7 +6,7 @@
 .include <bsd.kernobj.mk>
 
 WARNS=         1
-DBG=           -Os
+DBG=           -Os -m68020-60  # -m68020-60 seems to generate smaller binaries
 
 CRUNCHBIN=     instbin
 LISTS=         ${.CURDIR}/list ${.CURDIR}/../common/list.images



Home | Main Index | Thread Index | Old Index