LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-17-2013, 11:43 PM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
The -mmcu option in gcc.


Slackware 14.0

Hi: could somebody give me an example command line for the use of the -mmcu option in gcc?:
Code:
     AVR Options

       -mmcu=mcu
           Specify Atmel AVR instruction set architectures (ISA) or MCU type.

           For a complete list of mcu values that are supported by avr-gcc,
           see the compiler output when called with the --help=target command
           line option.  The default for this option is@tie{}"avr2".

           GCC supports the following AVR devices and ISAs:

           "avr2"
               "Classic" devices with up to 8@tie{}KiB of program memory.
               mcu@tie{}= "at90c8534", "at90s2313", "at90s2323", "at90s2333",
               "at90s2343", "at90s4414", "at90s4433", "at90s4434",
               "at90s8515", "at90s8535", "attiny22", "attiny26".

           "avr25"
               "Classic" devices with up to 8@tie{}KiB of program memory and
               with the "MOVW" instruction.  mcu@tie{}= "at86rf401",
               "ata6289", "attiny13", "attiny13a", "attiny2313",
               "attiny2313a", "attiny24", "attiny24a", "attiny25",
               "attiny261", "attiny261a", "attiny4313", "attiny43u",
 
Old 09-18-2013, 06:37 AM   #2
firstfire
Member
 
Registered: Mar 2006
Location: Ekaterinburg, Russia
Distribution: Debian, Ubuntu
Posts: 709

Rep: Reputation: 428Reputation: 428Reputation: 428Reputation: 428Reputation: 428
Hi.

Look at this Makefile used to build sanguino bootloader.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gcc/g++ option nuxrl Programming 1 11-30-2006 01:36 PM
about -00 option of gcc George2 Programming 3 08-29-2006 03:28 PM
gcc -I option vkmgeek Programming 18 05-16-2006 06:27 PM
what does the option -s of gcc mean ? hongxing Linux - Software 3 11-28-2005 08:12 PM
gcc option -E use. niverson Programming 2 10-11-2004 04:06 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration