From a6646ca08cc084bdc606fdae2e89d7f6e1dec78c Mon Sep 17 00:00:00 2001 From: ricklon Date: Wed, 29 Jun 2011 20:21:35 -0400 Subject: [PATCH] fixed an issue, -Wl,--gc-sections needed to have a comma. --- app/src/processing/app/debug/Target.java | 2 +- hardware/arduino/platforms.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/processing/app/debug/Target.java b/app/src/processing/app/debug/Target.java index 649c2827a..6849544f5 100644 --- a/app/src/processing/app/debug/Target.java +++ b/app/src/processing/app/debug/Target.java @@ -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); } diff --git a/hardware/arduino/platforms.txt b/hardware/arduino/platforms.txt index d946b8274..ae495d5b7 100755 --- a/hardware/arduino/platforms.txt +++ b/hardware/arduino/platforms.txt @@ -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++