Re: adding COPTS to shrink kernel binary size

Roland Illig <[email protected]>
Newsgroups gmane.os.netbsd.ports.vax,gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
Am 04.02.2023 um 17:12 schrieb Jason Thorpe:
>
>> 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.

What about -Os? For usr.bin/make, this results in a 14% reduction of
binary size on x86_64, maybe it's similar for the kernels on vax.

Roland
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.