Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: h8or on January 08, 2008, 01:52:42 pm

Title: [solved] How to use MAKE with another compiler?
Post by: h8or 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?
Title: Re: How to use MAKE with another compiler?
Post by: MortenMacFly 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.
Title: Re: How to use MAKE with another compiler?
Post by: h8or on January 08, 2008, 03:12:46 pm
The compiler is devkitARM (http://www.devkitpro.org/).
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.
Title: Re: How to use MAKE with another compiler?
Post by: MortenMacFly on January 08, 2008, 03:32:36 pm
The compiler is devkitARM (http://www.devkitpro.org/).
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).
Title: Re: How to use MAKE with another compiler?
Post by: h8or on January 08, 2008, 06:20:54 pm
Thanks!
It worked!  :D