Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: mark4 on January 30, 2010, 08:31:30 pm

Title: new project can only be c/c++
Post by: mark4 on January 30, 2010, 08:31:30 pm
Ok so i have an existing project that I have been working on since about 2001 and would like to import it in to code::blocks.  This is a Linux project that is written in 100% pure assembler and has basically been created using only a console editor (joe because vi makes my teeth itch! } : )

Anyway...  I go to file->new->project and select "console application" because thats what it is.  I am then presented with a window which lists all the language options for my project.  My choices are C and C++.  There is nothing in there for angelscript, bash, css, fortran, masm assembly etc etc etc yet all of these are options for the syntax highlighter. 

My project is not C and it is not C++ so im basically lost :/

How do i create an ASSEMBLER project?
Title: Re: new project can only be c/c++
Post by: stahta01 on January 30, 2010, 08:47:11 pm
1. Find a IDE that supports assembly
2. Read the directions to use that IDE.

If you still wish to use C::B read the following

http://wiki.codeblocks.org/index.php?title=Adding_support_for_non_C/C%2B%2B_files_to_the_build_system

Tim S.
Title: Re: new project can only be c/c++
Post by: MortenMacFly on January 31, 2010, 07:21:07 am
The Code::Blocks webpage says "The open source, cross platform, free C++ IDE.".
That's what it was designed for. Syntax highlighting is one thing but the compiler framework is another. We support a lot of compilers natively already but they are all C/C++ (Fortran as an excuse). If you want to use inline-assembly you can stick with GCC, too. But if you really need a pure assembler like MASM etc. you really either find a pure assembler IDE [I like RadAsm (http://www.oby.ro/rad_asm/) quite a lot but it seems abandoned (the original webpage is not accessible anymore)?!] or you try to implement your own assembler plugin which is probably not as hard as you might think. However, CC and a lot other things might not work.