Re: adding COPTS to shrink kernel binary size

Valery Ushakov <[email protected]>
Newsgroups gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
On Sat, Feb 04, 2023 at 08:12:43 -0800, Jason Thorpe wrote:

> > On Feb 4, 2023, at 7:45 AM, Izumi Tsutsui <[email protected]> wrote:
> > 
> > I think it's reasonable to add -fno-unwind-tables and
> > -freorder-blocks-algorithm=simple for vax, but
> > I wonder if how many VAXen users has memory size issue.
> 
> Saving every precious byte of RAM on a VAX is probably a worthy goal.

May be use -Os plus selected -f options?  Older gcc versions used to
be very zealous about -falign-* that are turned on with -O2

-uwe
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.