OSDev.org https://forum.osdev.org/ |
|
Do you know of a good c or c++ compiler for making OSes? https://forum.osdev.org/viewtopic.php?f=1&t=57064 |
Page 1 of 1 |
Author: | Ben321 [ Fri Dec 29, 2023 10:36 am ] |
Post subject: | 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. |
Author: | Octocontrabass [ Tue Jan 16, 2024 2:11 am ] |
Post subject: | 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... |
Author: | iProgramInCpp [ Sat Mar 02, 2024 3:58 am ] |
Post subject: | 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. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |