User forums > Using Code::Blocks
Compile as BIN file
(1/1)
jaeg:
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
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.
raph:
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
jaeg:
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.
rickg22:
Yes, it is. Just specify the additional flags in your project's build options.
jaeg:
Ok, thanks.
Navigation
[0] Message Index
Go to full version