- Why does the LED blink when I put it in pins 13 & ground without having uploaded the blink file? is it preinstalled?
When you try to upload, do you get an error message following the command line? Sometimes the Arduino software gives the "Couldn't determine program size" error even when the sketch compiles successfully, so that may not be a problem. Can you also enable build.verbose in your preferences.txt? And then post the full text of the messages you get when you upload (this will also compile your sketch)?
Does C:\Program Files\arduino-0008\tools/avr/bin/avr-gcc exist? Can you from a command prompt in the C:\Program Files\arduino-0008\ directory run tools/avr/bin/avr-gcc (it should say something like avr-gcc: no input files). From the same directory, can you run the first command line you posted (the one with pins_arduino.c)? Does it generate the pins_arduino.c.o file?
Hmm, that is strange. The avr binaries (avr-gcc, etc.) rely on some DLLs provided by cygwin. I'm guessing that you have similar but incompatible versions of the DLLs somewhere and that those are being used instead of the ones that come with Arduino. What happens if you cd to c:\arduino-0008 and run tools\avr\bin\avr-gcc (the cygwin DLLs are in the root Arduino directory, so you should be there when you run avr-gcc)? Do you have WinAVR installed? Can you search for cygwin1.dll in your windows directory (or a subdirectory of it)?
But when I try to compile the Blink program, I get back "Couldn't determine program size: " with no further information.