Linux kernel

Oct 27, 2016 at 2:58pm
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
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
What would a compiler be used for?
Oct 27, 2016 at 5:43pm
Guess.
Oct 27, 2016 at 6:14pm
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
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
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
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
Well thanks very much for your help. At least that's one thing settled!
Oct 27, 2016 at 7:31pm
What IDE do you use anyways?
Oct 27, 2016 at 11:59pm
Visual Studio can develop everything in the world.
Oct 28, 2016 at 10:22am
Yeah I have the same. I just use it because it looks neat
Topic archived. No new replies allowed.