Code::Blocks Forums
User forums => Help => Topic started by: Bigal on November 23, 2009, 09:16:48 pm
-
Hi I really like codeblocks and use SDCC with PIC very successfully.
Now working with ATtiny13 etc and after looking at AtmelStudio (which works well with WinAVR) would prefer codeblocks.
O/S is WinXP, Codeblocks 8.02, WinAVR with paths defined in CB (not BIN path).
Unfortunately, there is no way I can compile successfully, despite going through all the solutions offered in this forum.
I am guessing that option: Makefile/This is a custom makefile [checked] is not needed, as others do not report having to do this. However, when doing this option, I get a compile error:
make.exe: Makefile: No such file or directory
make.exe: *** No rule to make target `Makefile'. Stop.
Process terminated with status 2 (0 minutes, 0 seconds)
0 errors, 0 warnings
without this option I get a supposed successful compile:
-------------- Build: Release in asmdemo ---------------
Compiling: asmdemo.c
Linking native: bin\Release\asmdemo.sys
Output size is 2.45 KB
Process terminated with status 0 (0 minutes, 0 seconds)
0 errors, 0 warnings
But output is only asmdemo.sys with no hex or asm file.
Compiler flags are set for Attiny/GNU AVR GCC Compiler, search directories are set up.
Have spent literally hours trying to get this to work :-(
Any advice gratefully received.
Al.
-
http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F
-
You can find a startpoint here : http://forums.codeblocks.org/index.php/topic,10734.0.html (http://forums.codeblocks.org/index.php/topic,10734.0.html) at least for the hex-files (for the assembler files, reading the documentation of winavr or objdump might help).