Do you know of a good c or c++ compiler for making OSes?
Do you know of a good c or c++ compiler for making OSes?
Preferably one that will run in 32bit Windows, but output 16bit code. I don't want to have to do all the programming in DOS.
-
- Member
- Posts: 5560
- Joined: Mon Mar 25, 2013 7:01 pm
Re: Do you know of a good c or c++ compiler for making OSes?
Why do you want 16-bit code? There are several different compilers that can produce "16-bit code", but whether they'll work for you depends on what you're trying to do...
-
- Member
- Posts: 81
- Joined: Sun Apr 21, 2019 7:39 am
Re: Do you know of a good c or c++ compiler for making OSes?
Clang and GCC are perfectly fine compilers that are being used to develop OSes. However, they don't output 16-bit code unless you specifically hack them to do so.
Why exactly do you want a compiler that outputs 16-bit code? What is the purpose? This gives vibes of the XY problem.
You don't need to write code that runs on 16-bit x86 to write an OS. That period is long gone.
Why exactly do you want a compiler that outputs 16-bit code? What is the purpose? This gives vibes of the XY problem.
You don't need to write code that runs on 16-bit x86 to write an OS. That period is long gone.