Re: New GCC compiler for 8086 cpu's

Juan Perez-Sanchez <[email protected]> Thu, 15 Jun 2017 17:53:20 -0500
Newsgroups org.kernel.vger.linux-8086
Message-ID <CAD6VGubHHiXRYQQ=LKjtH2epvmvuy+Vrn+XRJ3h1_3_geuN=Rw@mail.gmail.com>
On Thu, Jun 15, 2017 at 5:19 AM, Edoardo <[email protected]> wrote:
> How much smaller?

The current kernel with a configuration similar to the default
configuration for the 0.1.3 version,
compiled with BCC has a code size of 51216 bytes. With the new
compiler, size is 48288 bytes.
This is 2928 bytes less (5.7%).

> If I remember correctly, one of ELKS limits was that binaries had to
> fit on a 64KB page, and that was due to the compiler we used (dev86 /
> bcc).

Actually, code size <=  64KB and separately  (data + bss + stack sizes) <= 64KB.

> Do you think/know if GCC may solve this limit, being able to produce
> multi-page binaries?

No, those limits still holds.