Author Topic: [solved] How to use MAKE with another compiler?  (Read 4861 times)

Offline h8or

  • Multiple posting newcomer
  • *
  • Posts: 13
    • My personal webpage
[solved] How to use MAKE with another compiler?
« on: January 08, 2008, 01:52:42 pm »
My compiler is none of available in codeblocks.
I have a custom makefile.
I checked  [ x ] This is a custom makefile, in properties of project, but when i try to build I got the message:
"PALibTest - Release" uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]. Skipping...
Nothing to be done.

I don't have compiler, just the MAKE.
How can I configure CodeBlocks to solve this problem?
« Last Edit: January 08, 2008, 06:21:34 pm by h8or »

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9702
Re: How to use MAKE with another compiler?
« Reply #1 on: January 08, 2008, 02:08:20 pm »
My compiler is none of available in codeblocks.
Trust me: It *would* be possible to integrate. ;-)

Quote
I don't have compiler, just the MAKE.
MAKE makes use of a *compiler* in order to compile your project. So just a "make" is not of  much help here. What compiler are you talking about?

With regards, Morten.
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

Offline h8or

  • Multiple posting newcomer
  • *
  • Posts: 13
    • My personal webpage
Re: How to use MAKE with another compiler?
« Reply #2 on: January 08, 2008, 03:12:46 pm »
The compiler is devkitARM.
Its a mod of GNU ARM GCC.
I tryed to change the names and path of tool chain executables
from "arm-elf-???.exe" (default)
to "arm-eabi-???.exe"
I got the same message. Compiler not found.

I'm using CB SVN 4767 (2008-01-01).
WinXP SP2

I made a workaround, adding command make in external tool menu.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9702
Re: How to use MAKE with another compiler?
« Reply #3 on: January 08, 2008, 03:32:36 pm »
The compiler is devkitARM.
You need to setup the toolchain path, too. Additionally for this compiler it's best to add the [install_path]\arm-eabi\bin folder to additional directories. Then it'll work (I just tried myself).
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

Offline h8or

  • Multiple posting newcomer
  • *
  • Posts: 13
    • My personal webpage
Re: How to use MAKE with another compiler?
« Reply #4 on: January 08, 2008, 06:20:54 pm »
Thanks!
It worked!  :D