User forums > Using Code::Blocks

How compile asm files?

(1/1)

Borneq:
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?

scarphin:
U'll have to define ur assembler command line for the extension i.e. '.asm'.

Borneq:
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?

stahta01:
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.

Borneq:
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).?

Navigation

[0] Message Index

Go to full version