Author Topic: new project can only be c/c++  (Read 3504 times)

Offline mark4

  • Single posting newcomer
  • *
  • Posts: 4
new project can only be c/c++
« 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?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7607
    • My Best Post
Re: new project can only be c/c++
« Reply #1 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.
« Last Edit: January 30, 2010, 08:50:54 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: new project can only be c/c++
« Reply #2 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ