|
|
Subscribe / Log in / New account

GCC IA16 backend

GCC IA16 backend

Posted Nov 4, 2017 4:07 UTC (Sat) by tkchia (guest, #119442)
In reply to: GCC IA16 backend by felix.s
Parent article: Videos from the GNU Tools Cauldron

Hello all,

I am the coder behind the far pointer support for IA-16 GCC. Thank you very much for your comments!

Regarding .exe support, my fork of gcc-ia16 does have it, but it can only create "small" memory model .exe files, i.e. with 64 KiB code + 64 KiB separate data in total. Passing -mcmodel=small to my GCC front-end should enable the .exe support (the default is -mcmodel=tiny).

As for the actual implementation of .exe output: it is not in the binutils component, but actually in the newlib part (!). I use a linker script to fabricate the .exe header and lay out the code and data correctly.

--- T. K. Chia


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds