Author Topic: Can't select compiler  (Read 5630 times)

megavolt

  • Guest
Can't select compiler
« 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.

 
 
 

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Can't select compiler
« Reply #1 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);

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]