dritcey / optiboot

Automatically exported from code.google.com/p/optiboot
0 stars 0 forks source link

optiboot build on Mac #95

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Trying to build on Mac with AVR-GCC. Get:

$ make
avr-gcc: error: unrecognized command line option ‘-mshort-calls’
make: [baudcheck] Error 1 (ignored)
sh: baudcheck.tmp.sh: No such file or directory
make: [baudcheck] Error 127 (ignored)
avr-gcc -g -Wall -Os -fno-inline-small-functions -fno-split-wide-types 
-mshort-calls -mmcu=atmega328p -DF_CPU=16000000L  -DBAUD_RATE=115200 
-DLED_START_FLASHES=3      '-DVIRTUAL_BOOT'   -c -o optiboot.o optiboot.c
avr-gcc: error: unrecognized command line option ‘-mshort-calls’
make: *** [optiboot.o] Error 1

Original issue reported on code.google.com by danaldri...@gmail.com on 31 Jan 2014 at 1:50

GoogleCodeExporter commented 8 years ago
Which version of avr-gcc ?  4.7 and newer seem to have significant switch 
changes.
It should compile with versions up to 4.6.x

Original comment by wes...@gmail.com on 13 Feb 2014 at 4:59

GoogleCodeExporter commented 8 years ago

Original comment by wes...@gmail.com on 28 Jun 2014 at 2:30