1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-03-14 11:29:26 +01:00

Switched to a nonconflicting delimeter |. Compile process is working. Need to make sure that it matches 1.0 process exactly.

This commit is contained in:
ricklon 2011-06-17 22:12:21 -04:00
parent 67c9dfc667
commit aa01546b55
2 changed files with 10 additions and 10 deletions

View File

@ -596,7 +596,7 @@ public class Compiler implements MessageConsumer {
}; };
String command = compileFormat.format( Args ); String command = compileFormat.format( Args );
String[] commandArray = command.split("\|"); String[] commandArray = command.split("\\|");
return commandArray; return commandArray;
} }
@ -655,7 +655,7 @@ public class Compiler implements MessageConsumer {
}; };
String command = compileFormat.format( Args ); String command = compileFormat.format( Args );
String[] commandArray = command.split("\|"); String[] commandArray = command.split("\\|");
return commandArray; return commandArray;
} }
/* /*
@ -714,7 +714,7 @@ public class Compiler implements MessageConsumer {
}; };
String command = compileFormat.format( Args ); String command = compileFormat.format( Args );
String[] commandArray = command.split("\|"); String[] commandArray = command.split("\\|");
/* /*
System.out.println("command:" + command); System.out.println("command:" + command);
@ -863,7 +863,7 @@ public class Compiler implements MessageConsumer {
System.out.println("compileCore(...) substitute"); System.out.println("compileCore(...) substitute");
commandString = compileFormat.format( Args ); commandString = compileFormat.format( Args );
String[] commandArray = commandString.split("\|"); String[] commandArray = commandString.split("\\|");
execAsynchronously(commandArray); execAsynchronously(commandArray);
@ -881,7 +881,7 @@ public class Compiler implements MessageConsumer {
String objectFileList = ""; String objectFileList = "";
for (File file : objectFiles) { for (File file : objectFiles) {
objectFileList = objectFileList + file.getAbsolutePath() + "\|"; objectFileList = objectFileList + file.getAbsolutePath() + "|";
} }
System.out.println("objectFileList: " + objectFileList); System.out.println("objectFileList: " + objectFileList);
@ -900,7 +900,7 @@ public class Compiler implements MessageConsumer {
configPreferences.get("ldscript"), configPreferences.get("ldscript"),
}; };
commandString = compileFormat.format( Args ); commandString = compileFormat.format( Args );
String[] commandArray = commandString.split("\|"); String[] commandArray = commandString.split("\\|");
execAsynchronously(commandArray); execAsynchronously(commandArray);
} }
@ -922,7 +922,7 @@ public class Compiler implements MessageConsumer {
buildPath + File.separator + primaryClassName buildPath + File.separator + primaryClassName
}; };
commandString = compileFormat.format( Args ); commandString = compileFormat.format( Args );
String[] commandArray = commandString.split("\|"); String[] commandArray = commandString.split("\\|");
execAsynchronously(commandArray); execAsynchronously(commandArray);
} }
@ -944,7 +944,7 @@ public class Compiler implements MessageConsumer {
buildPath + File.separator + primaryClassName buildPath + File.separator + primaryClassName
}; };
commandString = compileFormat.format( Args ); commandString = compileFormat.format( Args );
String[] commandArray = commandString.split("\|"); String[] commandArray = commandString.split("\\|");
execAsynchronously(commandArray); execAsynchronously(commandArray);
} }
@ -1016,7 +1016,7 @@ public class Compiler implements MessageConsumer {
String includes = ""; String includes = "";
for (int i = 0; i < includePaths.size(); i++) for (int i = 0; i < includePaths.size(); i++)
{ {
includes = includes + (" -I" + (String) includePaths.get(i)) + "\|"; includes = includes + (" -I" + (String) includePaths.get(i)) + "|";
} }
//logger.debug("Paths prepared: " + includes); //logger.debug("Paths prepared: " + includes);
return includes; return includes;

View File

@ -51,7 +51,7 @@ avr.compiler.cpp.flags=|-c|-g|-Os|-w|-fno-exceptions|-ffunction-sections|-fdata-
avr.compiler.ar.cmd=avr-ar avr.compiler.ar.cmd=avr-ar
avr.compiler.ar.flags=rcs avr.compiler.ar.flags=rcs
avr.compiler.objcopy.cmd=avr-objcopy avr.compiler.objcopy.cmd=avr-objcopy
avr.compiler.objcopy.eep.flags=|-O|ihex|-j|.eeprom|--set-section-flags=.eeprom=alloc|load|--no-change-warnings|--change-section-lma|.eeprom=0 avr.compiler.objcopy.eep.flags=|-O|ihex|-j|.eeprom|--set-section-flags=.eeprom=alloc,load|--no-change-warnings|--change-section-lma|.eeprom=0
avr.compiler.elf2hex.flags=|-O|ihex|-R|.eeprom avr.compiler.elf2hex.flags=|-O|ihex|-R|.eeprom
avr.compiler.elf2hex.cmd=avr-objcopy avr.compiler.elf2hex.cmd=avr-objcopy
avr.compiler.ldflags= avr.compiler.ldflags=