User forums > Help
cc1: Fehler: fehlendes Argument für »-mmcu=« (C::B 8.02 | Ubuntu 9.10 x64)
(1/1)
illumin123:
Hello guy's and Merry Christmas!
I want to use C::B to Programm an atmega32 on an Linux OS. (Ubuntu 9.10 x64)
I use the Wizzard for avr programming and i think i've selectet everything right. (it must be wrong, because it doesn't work. XD)
Okay... If i want to Build my files in the Buildlog Appears:
--- Code: ----------------- Build: Release in test1 ---------------
Compiling: main.c
cc1: Fehler: fehlendes Argument für »-mmcu=«
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
--- End code ---
I've tryed to uncheck the atmega32 option in the debugger and compiler settings and wrote it to the manualy arguments. But it doesn't work, too. I get the same message.
I have installed the avr-gcc again, because I thought there was an mistake. but nothing get changed.
Thanks for helping a newbie... :-)
aozima:
you must selectet you cpu type is M32;
If you forget it,
you can:
project --> build options -->project name(not debug & release)-->link setting
addd the other options : -mmcu=atmega32
good luck for you!
and,you can use my wizard!
selectet the atmega16 default;
selectet avr-size after!
[attachment deleted by admin]
illumin123:
Thank you aozima.
Sometimes it is so simple... XD
You are right. I have to set it like:
--- Code: ---project --> build options -->project name(not debug & release)-->link setting
addd the other options : -mmcu=atmega32
--- End code ---
Now it works fine. Thank you!
edit:
ähm.... Could you tell me how to use your wizzard? I just try a little bit now. but maybe you will be faster with explaining than me witch trying. :-D
aozima:
Extract to "path\CodeBlocks\share\CodeBlocks\templates\wizard"
overwrite it!
I'm UTC+8,I will sleeping....
illumin123:
Ah okay. ;-)
UTC +1 XD
Thanks a lot and good nigh!
Navigation
[0] Message Index
Go to full version