Oct 27, 2016 at 2:58pm Oct 27, 2016 at 2:58pm UTC
Is it possible to run the linux kernel on its own and then write some C commands for it, or do I need a shell?
Oct 27, 2016 at 4:14pm Oct 27, 2016 at 4:14pm UTC
I don't know the details of a typical Linux OS in much detail, but I would guess at the very least you'd need the kernel, some drivers, a shell, and a compiler. Also preferably a text editor to actually write in.
Oct 27, 2016 at 5:09pm Oct 27, 2016 at 5:09pm UTC
What would a compiler be used for?
Oct 27, 2016 at 6:14pm Oct 27, 2016 at 6:14pm UTC
Yes I know it compiles duh, but lets say I write hello world.cpp what would be the output?? What difference would it make
Oct 27, 2016 at 6:17pm Oct 27, 2016 at 6:17pm UTC
The output would be an executable program. The difference it would make is a C++ source is not executable until it is compiled.
Oct 27, 2016 at 6:25pm Oct 27, 2016 at 6:25pm UTC
One more question, could I compile it to my own file extension or is there a specific one I have to compile it to?
Oct 27, 2016 at 6:56pm Oct 27, 2016 at 6:56pm UTC
You can name your file (of which the file extension is part) whatever you wish. File extensions in Linux do not have the significance of file extensions in Windows.
Oct 27, 2016 at 7:31pm Oct 27, 2016 at 7:31pm UTC
Well thanks very much for your help. At least that's one thing settled!
Oct 27, 2016 at 7:31pm Oct 27, 2016 at 7:31pm UTC
What IDE do you use anyways?
Oct 27, 2016 at 11:59pm Oct 27, 2016 at 11:59pm UTC
Visual Studio can develop everything in the world.
Oct 28, 2016 at 10:22am Oct 28, 2016 at 10:22am UTC
Yeah I have the same. I just use it because it looks neat