User forums > Embedded development
Taking into account C99 standard
stahta01:
The places in CB that I believe matter to custom makefile projects.
Not sure if Execution Directory matter or not.
Project -> Properties
Tab: Project Settings
Checkbox: "This is a custom makefile"
Textbox: "Makefile:"
? Execution Directory
Project -> Properties
Tab: Build Targets
Project -> "Build Options"
Tab: "Make" commands
Settings -> Compiler
Tab: Toolchain Excutables
Textbox: "Make Program:"
Tim S.
stahta01:
--- Quote from: stahta01 on November 17, 2014, 08:54:48 pm ---The places in CB that I believe matter to custom makefile projects.
Not sure if Execution Directory matter or not.
Project -> Properties
Tab: Project Settings
Checkbox: "This is a custom makefile"
Textbox: "Makefile:"
? Execution Directory
Project -> Properties
Tab: Build Targets
Project -> "Build Options"
Tab: "Make" commands
Settings -> Compiler
Tab: Toolchain Excutables
Textbox: "Make Program:"
Tim S.
--- End quote ---
FYI: I just tried using Code::Blocks and Cygwin to build Contiki Hello world it built OK
Link to my Project is here https://github.com/stahta01/contiki/blob/master/examples/hello-world/hello_world-cygwin.cbp
Edit: Links to second project and readme for CB file:
https://github.com/stahta01/contiki/blob/master/platform/win32/platform_win32-cygwin.cbp
https://github.com/stahta01/contiki/blob/master/README-CodeBlocks.txt
Tim S.
Pavel_47:
Hello Tim,
I've tried without custom make.
Here is buil log of hello_world:
"hello_world MinGW - Makefile": The compiler's setup is invalid, so Code::Blocks cannot find/run the compiler.
Probably the toolchain path within the compiler options is not setup correctly?! (Do you have a compiler installed?)
Goto "Settings->Compiler...->Global compiler settings->unknown->Toolchain executables" and fix the compiler's setup.
Skipping...
Nothing to be done (all items are up-to-date).
Here is my compiler settings. All executables does exist in specified location.
[attachment deleted by admin]
Pavel_47:
In the "make commands" tab there is target that I want to modify
But edit fields aren't editable.
How to change target ?
stahta01:
Do you have the make.exe in the bin folder for your compiler?
Does the C compiler exe exist in the bin folder for your compiler?
Tim S.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version