Author Topic: Enable CodeBlocks To RUN......  (Read 4276 times)

human304

  • Guest
Enable CodeBlocks To RUN......
« on: August 15, 2012, 02:39:30 am »
I am new to codeblocks. One of my friends suggested me for C++. Now i see that there are options for AVR , Matlab , Verliog , MASM Assembly Files.
I want to use Code Blocks to run all the above type. But i dont know how to modify Code Blocks to run them .
I am currently using Win 7 Ultimate x64 .Helpful suggestion is appreciated.  :) :) :) :)

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Enable CodeBlocks To RUN......
« Reply #1 on: August 15, 2012, 06:20:38 am »
Code::Blocks is "just" an IDE.
If you want to use any of the provided compiler-settings, you need to install the apprpriate compiler.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Enable CodeBlocks To RUN......
« Reply #2 on: August 15, 2012, 06:41:38 am »
I want to use Code Blocks to run all the above type.
You don't "run" source code files - you compile them. As Jens said, for this you need an appropriate compiler.

For M-Files you can launch a Matlab instance using the Tools / Tools+ menu in combination with macros as explained there. These are scripts, so they are runnable.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ