Code::Blocks Forums

User forums => Help => Topic started by: megavolt on October 28, 2013, 07:34:40 pm

Title: Can't select compiler
Post by: megavolt on October 28, 2013, 07:34:40 pm
Hi,

 I'm trying to get gnuarm running with codeblocks and that is a bit of a headache.
 I have.
 Ubuntu 12.04
 codeblocks: build 9156
 gnuarm 4.02
 
  Gnuarm is default compiler and tools are select in settings->compiler->toolchain executables
  In codeblocks, I select: Create new project.
   - Select: Arm project
   - type project name
   - I have to select the compiler to use:
  but there is no compiler to select.  And I can't continue because I didn't select a compiler.

 now I'm stuck!!

 Hope you can help.

 
 
 
Title: Re: Can't select compiler
Post by: oBFusCATed on October 28, 2013, 08:39:04 pm
Try this patch:

Code
--- /usr/share/codeblocks/templates/wizard/arm/wizard.script    2013-10-26 15:05:27.000000000 +0300
+++ /home/obfuscated/.codeblocks/share/codeblocks/templates/wizard/arm/wizard.script    2013-09-29 14:00:54.507317559 +0300
@@ -22,7 +22,7 @@
        // select project name and path
        Wizard.AddProjectPathPage();
        // select compiler and configurations
-       Wizard.AddCompilerPage(_T(""), _T("armelf*"), false, false);
+       Wizard.AddCompilerPage(_T(""), _T("arm-elf*"), false, false);
        // select language
        Wizard.AddGenericSingleChoiceListPage(_T("ARMBoards"), _T("Please select your ARM evaluation board."), ARM_boards , board);