4 ms·
Mainstream GCC has never supported 16-bit code on x86, only 32-bit However, there is (at least one) fork which adds 16-bit code support, see https://github.com
by skissane 3y ago
Mainstream GCC has never supported 16-bit code on x86, only 32-bit
However, there is (at least one) fork which adds 16-bit code support, see https://github.com/tkchia/gcc-ia16 https://github.com/tkchia/gcc-ia16
I don't think the GCC maintainers have ever or will ever want to support 16-bit x86, because it is so limited, and adds a lot of messy corner cases, and nowadays is really only of hobbyist/retrocomputing interest.
Maybe there is some 16-bit x86 embedded system still being maintained–there were military spec versions of the 8086, and possibly some weapons system, aircraft, satellite, etc, still in use contains one. But I doubt they'd have any interest in adopting a 16-bit GCC – they'd already have some proprietary compiler they'd been using for decades, switching now would add a lot of risk, very late in the life of a legacy system, for no tangible benefit
- happycube 3y agoHeck, 32-bit support is gradually eroding away...
- actionfromafar 3y agoIt is kind of cool to be able to program an 8088 with C++14. :-D I have no idea what to use it for, but hey.
- kjs3 3y agoHow many C++14 specific features will fit in 64k segments?
- pjmlp 3y ago"Rich Code for Tiny Computers: A Simple Commodore 64 Game in C++17" https://www.youtube.com/watch?v=zBkNBP00wJE https://www.youtube.com/watch?v=zBkNBP00wJE Followed by, "C++20 For The Commodore 64" https://www.youtube.com/watch?v=EIKAqcLxtT0 https://www.youtube.com/watch?v=EIKAqcLxtT0
- kjs3 3y agoFrightening. :-)
- actionfromafar 3y agoLanguage features, many, I would suppose. Now, using some of the stuff from the standard library, could blow things up.