News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

[solved] How to use MAKE with another compiler?

Started by h8or, January 08, 2008, 01:52:42 PM

Previous topic - Next topic

h8or

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?

MortenMacFly

Quote from: h8or on January 08, 2008, 01:52:42 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: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

h8or

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.

MortenMacFly

Quote from: h8or on January 08, 2008, 03:12:46 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: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

h8or