I found the following message on the MVS-OE mailing list in response to a
question regarding the large size of executables in OS/390. I remade
lynx2.8.3dev.20 setting CFLAGS = -Wl,"EDIT=NO" and it went from 5,148,672
bytes to 2,441,216 bytes. I think this is something worth incorporating in
the distribution.
---
Date: Wed, 1 Mar 2000 09:44:50 +0100
To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Sender: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Subject: Re: Binder output and module size
Hi again, two hints:
1 there are a lot of constants, i/f addresses to handle the LE stuff.
2 the executable contains binder/lked EDIT information. Within an USS
environment these are typically not needed because make rebuilds an
executable from ALL objects (.o file). Now, if you link/bind with EDIT=NO,
i.e.
c89 -Wl,"EDIT=NO" -O -o hello hello.c
you will reduce the the size of the executable by a reasonable amount.
Happy linking.
Hans Dieter Mertiens
IBM Germany