It is interesting to note compile times here. I compiled the FUSS source under both Cygwin and Visual C++ in debug mode (with debugging symbols, and no optimisation), and release mode (no debugging, optimisation) with the following build times (for everything excepting i3.c and imc.c) ...
Debug build - compile and link
- Cygwin - 21 seconds
- Visual C++ - 22 seconds
Release build - compile and link
- Cygwin - 32 seconds
- Visual C++ - 30 seconds
This was done on the same PC (hence the same CPU speed, memory size, hard disk speed etc.).
It is interesting that there is virtually no difference in compile speeds. One or two seconds to rebuild the whole project is nothing to worry about.
Using UltraEdit to compile
I also had some success compiling using UltraEdit as the front-end to Cygwin (much like using the Visual Studio environment).
To do this, I used the UltraEdit Advanced menu -> Tool Configuration, and entered:
- Command line: \cygwin\bin\bash --login -i -c 'cd /home/nick/SmaugFUSS/src;make'
- Working directory: C:\cygwin\home\Nick\SmaugFUSS\src\
- Menu item name: make smaugFUSS
- Save all files first: checked
- Command output:
- Output to list box: selected
- Capture output: checked
Then click "Insert" to add this as a special command, and then OK to close the dialog box.
Having done all this (which you only do once) then there is a new menu item under the Advanced menu:
make smaugFUSS - Ctrl+Shift+0
Then to do a "make" I just select that menu item or type Ctrl+Shift+0, and the whole process kicks in. If there are errors they display in the Output pane near the bottom (select Window -> Output Window to see it). You can double-click any error message and it will open the appropriate file and go to the line in error. Very handy.