Author Topic: Compiling to an ISO with C and Assembly  (Read 4270 times)

Offline acaiberii

  • Single posting newcomer
  • *
  • Posts: 2
Compiling to an ISO with C and Assembly
« on: May 13, 2021, 02:42:36 am »
Hello, I'm very new to the whole C/Assembly/C++ ecosystem. After learning c# and Java for the past 4 months, I wanted to move on and start a new project.

I'm trying to make an operating system including both Assembly and C++, but I don't really know how to use CodeBlocks all that well.
Would anyone give me some pointers on how to configure your project to compile to an ISO with both Assembly and C? Thank you!

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7576
    • My Best Post
Re: Compiling to an ISO with C and Assembly
« Reply #1 on: May 13, 2021, 05:21:33 am »
Link to an open source OS https://reactos.org/

Edit2: Add second link https://wiki.osdev.org/Main_Page

Your question is too open ended and off topic for this website.

I suggest you first decide on the Compiler Toolchain you are going to use.

And, then asking this site about how to setup Code::Blocks to use that compiler.

Edit: Second question is how to use both C and Assembly code in one CB project.
I have never done that and the answer would likely depend on the C Compiler that is used.

I suggest looking at least at the CB FAQs https://wiki.codeblocks.org/index.php/Main_Page

Tim S.
« Last Edit: May 13, 2021, 06:57:02 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]