Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: jaeg on June 17, 2007, 02:19:55 am
-
I am going to make a simple OS based on this tutorial:http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=6718&lngWId=3&txtForceRefresh=61620072018791011 (http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=6718&lngWId=3&txtForceRefresh=61620072018791011)
Is it possible to get CodeBlocks to compile the OS? I don't know how to get CB to compile anything but dlls and exes.
-
Codeblocks is not a compiler, but an ide.
If you compile something, codeblocks simply assembles commandlines and executes them.
So the question is: Is it possible to get your compiler (Mingw, Visual C++, or what you are using) to compile the os?
Edit: Have a look at the build.bat file in the sources. It should give you an idea how to compile the kernel correctly.
Regards
raph
-
I knew it wasn't a compiler. I just didn't know if it was possible to get code::blocks to issue these kind of commands to the compiler.
-
Yes, it is. Just specify the additional flags in your project's build options.
-
Ok, thanks.