Code::Blocks

User forums => Using Code::Blocks => Topic started by: Ravi Kiran on September 30, 2019, 09:34:21 pm

Title: MASM Assembly using code::Bocks IDE
Post by: Ravi Kiran on September 30, 2019, 09:34:21 pm
Can anyone around here tell me how to configure code::blocks IDE to Assemble link and run an assembly language program ( both 16-bit and 32-bit) using external MASM assembler and linker and any external libraries. I can see in my code::blocks IDE it can identify the MASM .asm file syntax but when I build a MASM .asm source file using inbuilt mingW compiler it is showing a linker error. These linker errors popup even if I changed the default compiler to Microsoft visual studio 2010 . There is a MASM assembler (ml.exe) and linker in visual studio 2010 bin folder.
But I don't know how to configure it to Assemble and run a MASM .asm file. My code::blocks IDE version is 17.12. Plz help.
Title: Re: MASM Assembly using code::Bocks IDE
Post by: oBFusCATed on September 30, 2019, 10:04:03 pm
Read the information in these two links. They should help you get started:
http://wiki.codeblocks.org/index.php/Adding_support_for_non_C/C%2B%2B_files_to_the_build_system
http://wiki.codeblocks.org/index.php/FAQ-Compiling_(errors)#Q:_How_do_I_troubleshoot_a_compiler_problem.3F