1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

Upping version to 0015 and going back to use of core.a in build process.

This commit is contained in:
David A. Mellis
2009-03-12 16:13:35 +00:00
parent fa3e49a126
commit 673e2513b8
4 changed files with 18 additions and 12 deletions

View File

@ -172,9 +172,9 @@ public class Compiler implements MessageConsumer {
}
baseCommandLinker.addAll(sketchObjectNames);
baseCommandLinker.addAll(targetObjectNames);
//baseCommandLinker.add(runtimeLibraryName);
//baseCommandLinker.add("-L" + buildPath);
//baseCommandLinker.addAll(targetObjectNames);
baseCommandLinker.add(runtimeLibraryName);
baseCommandLinker.add("-L" + buildPath);
baseCommandLinker.add("-lm");
firstErrorFound = false; // haven't found any errors yet
@ -200,12 +200,12 @@ public class Compiler implements MessageConsumer {
return false;
}
// for(int i = 0; i < targetObjectNames.size(); i++) {
// List commandAR = new ArrayList(baseCommandAR);
// commandAR.add(targetObjectNames.get(i));
// if (execAsynchronously(commandAR) != 0)
// return false;
// }
for(int i = 0; i < targetObjectNames.size(); i++) {
List commandAR = new ArrayList(baseCommandAR);
commandAR.add(targetObjectNames.get(i));
if (execAsynchronously(commandAR) != 0)
return false;
}
if (execAsynchronously(baseCommandLinker) != 0)
return false;