I installed and configured Eclipse according to this cook book: http://www.arduino.cc/playground/Code/Eclipse
. All works fine, however, if I am comparing the size of the generated HEX file between Arduino IDE and Eclipse I was shocked:
Arduino: 2664 byte
Eclipse: 13348 bytes !!!!
Can anybody advise which compiler/linker settings could bring the file size towards Arduino.
BTW, I used the following code:
byte state = HIGH;
long time = 0;
if (millis() - time > 1000)
state = HIGH ^ state;
time = millis();