fixed an issue, -Wl,--gc-sections needed to have a comma.

This commit is contained in:
ricklon 2011-06-29 20:21:35 -04:00
parent dacfa86223
commit a6646ca08c
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ public class Target {
} catch (Exception e) {
System.err.println("Error loading platforms from " +
platformsFile + ": " + e);
System.exit(0);
//System.exit(0);
}

View File

@ -43,7 +43,7 @@ avr.name=Arduino
#avr.compiler.path={0}/hardware/tools/avr/bin/
avr.compiler.c.cmd=avr-gcc
avr.compiler.c.flags=|-c|-g|-Os|-w|-ffunction-sections|-fdata-sections
avr.compiler.c.elf.flags=|-Os|-Wl|--gc-sections
avr.compiler.c.elf.flags=|-Os|-Wl,--gc-sections
avr.compiler.c.elf.cmd=avr-gcc
avr.compiler.S.flags=|-c|-g|-assembler-with-cpp
avr.compiler.cpp.cmd=avr-g++