Hanging at compile

I've been trying to use the Gammon board programmer sketch to bootload a new atmega but I'm not able to get past compiling. I have the verbose output displayed and this is where it hangs:

C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10604 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI C:\Users\Tristan\AppData\Local\Temp\build3108633893794988285.tmp\Atmega_Board_Programmer.cpp -o C:\Users\Tristan\AppData\Local\Temp\build3108633893794988285.tmp\Atmega_Board_Programmer.cpp.o

It has stayed there for over 20 minutes and also seems to do the same on the board detector program as well.

I have tried a fresh install of the Arduino IDE (1.6.4) with no change. I am running Windows 8.1. I've also tried some other sketches and they are compiling just fine. I'm really not sure where to go from here...

I just tried IDE 1.6.4 under Linux and it compiled OK:

Sketch uses 27,976 bytes (86%) of program storage space. Maximum is 32,256 bytes.
Global variables use 239 bytes (11%) of dynamic memory, leaving 1,809 bytes for local variables. Maximum is 2,048 bytes.

However I suggest you try an earlier version of the IDE, such as 1.0.6. Please report if that helps or not.

It should compile in a few seconds. Don't bother waiting 20 minutes.

I discovered the reason, once I was able to reproduce the problem under Windows XP.

The sketch used "soft links" to a file in another directory. In the case of Windows, instead of the linked file you just got the link details, eg.

../Atmega_Hex_Uploader/HV_Pins.h

I have reworked the source to use hard links instead. This will now appear to Windows to be real files, not links. It then compiled without problems under 1.6.4 (in a few seconds).

You will need to re-acquire the source from GitHub, either doing a "git pull" or just re-download the .zip file.

Reported here.

That did it, it is compiling fine now. Thank you!