Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: Borneq on June 09, 2011, 09:15:36 am
-
In http://wiki.codeblocks.org/index.php?title=Adding_support_for_non_C/C%2B%2B_files_to_the_build_system
are described options Settings->Compiler and debugger->Other settings->Advanced options
but which options it must be for assembler files?
-
U'll have to define ur assembler command line for the extension i.e. '.asm'.
-
Extension should be 'asm' but how command line?
In Visual Studio is:
Command Line:
ml -c "-Fl$(IntDir)%(FileName).lst" "-Fo$(IntDir)%(FileName).obj" "%(FullPath)"
Outputs:
$(IntDir)%(FileName).obj;%(Outputs)
Assembler name is "ml", which is assembler name in Code:Blocks?
-
Code::Blocks is an IDE/Editor Only it DOES NOT have a Compiler!
You are responsible to know how your Compiler works!
Read the FAQs http://wiki.codeblocks.org/index.php?title=FAQ
Once, you figure out how your Assembler work try reading this link
CB is design to support C/C++ Languages with only very minor support for others; you need to do work to support others.
http://wiki.codeblocks.org/index.php?title=Adding_support_for_non_C/C%2B%2B_files_to_the_build_system
Tim S.
-
In Windows Code:Blocks uses MinGW. There is as.exe, it uses other format asm files In Windows can I use ml.exe but which asm compiler to use under Linux (or are any compatybility options).?