Author Topic: unrecognized command line option '-mmcu=atmega328p'|  (Read 258 times)

Offline alrafi

  • Single posting newcomer
  • *
  • Posts: 1
unrecognized command line option '-mmcu=atmega328p'|
« 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

Online stahta01

  • Lives here!
  • ****
  • Posts: 5937
    • My Best Post
Re: unrecognized command line option '-mmcu=atmega328p'|
« Reply #1 on: June 09, 2017, 10:27:41 pm »
Post the build log!

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.
« Last Edit: June 09, 2017, 10:31:56 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Testing, compiling CB Trunk against wxWidgets 3.0.2.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org