Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: alrafi on June 09, 2017, 10:24:42 pm
-
I try to build the program ||unrecognized command line option '-mmcu=atmega328p'|| this is error showing.
Why this error is showing? and How i can fixed this error?
>
>
>
>
Thanks
-
Post the build log!
http://wiki.codeblocks.org/index.php/FAQ-Compiling_(errors)#Q:_How_do_I_troubleshoot_a_compiler_problem.3F (http://wiki.codeblocks.org/index.php/FAQ-Compiling_(errors)#Q:_How_do_I_troubleshoot_a_compiler_problem.3F)
Edit: The true answer is likely either change the compiler you are using or change the compiler option.
But, no one can know what the true answer is till you post more information.
Tim S.