News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

How compile asm files?

Started by Borneq, June 09, 2011, 09:15:36 AM

Previous topic - Next topic

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

#3
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.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

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