News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Compile as BIN file

Started by jaeg, June 17, 2007, 02:19:55 AM

Previous topic - Next topic

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

#1
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