Here is what I get on a Windows 7 system (also on XP):
[C:Program FilesNimrodexamplesgtk]nimrod c ex7.nim Hint: used config file 'C:Program FilesNimrodconfignimrod.cfg' [Conf] Hint: system [Processing] Hint: ex7 [Processing] Hint: gdk2 [Processing] Hint: glib2 [Processing] Hint: gdk2pixbuf [Processing] Hint: pango [Processing] Hint: gtk2 [Processing] Hint: atk [Processing] c:program filesnimrodexamplesgtknimcachesystem.c: In function 'initallocat or_5230': c:program filesnimrodexamplesgtknimcachesystem.c:1643:10: internal compile r error: Illegal instruction Please submit a full bug report, with preprocessed source if appropriate. Contact <URL:mailto:report@adacore.com> for instructions. c:program filesnimrodexamplesgtknimcacheex7.c: In function 'ex7Init': c:program filesnimrodexamplesgtknimcacheex7.c:435:18: internal compiler er ror: Illegal instruction Please submit a full bug report, with preprocessed source if appropriate. Contact <URL:mailto:report@adacore.com> for instructions. c:program filesnimrodexamplesgtknimcachegdk2.c: In function 'gdk2Init': c:program filesnimrodexamplesgtknimcachegdk2.c:26:18: internal compiler er ror: Illegal instruction Please submit a full bug report, with preprocessed source if appropriate. Contact <URL:mailto:report@adacore.com> for instructions. c:program filesnimrodexamplesgtknimcacheglib2.c: In function 'glib2Init': c:program filesnimrodexamplesgtknimcacheglib2.c:26:18: internal compiler e rror: Illegal instruction Please submit a full bug report, with preprocessed source if appropriate. Contact <URL:mailto:report@adacore.com> for instructions. c:program filesnimrodexamplesgtknimcachegdk2pixbuf.c: In function 'gdk2pix bufInit': c:program filesnimrodexamplesgtknimcachegdk2pixbuf.c:26:18: internal compi ler error: Illegal instruction Please submit a full bug report, with preprocessed source if appropriate. Contact <URL:mailto:report@adacore.com> for instructions. c:program filesnimrodexamplesgtknimcachepango.c: In function 'pangoInit': c:program filesnimrodexamplesgtknimcachepango.c:26:18: internal compiler e rror: Illegal instruction Please submit a full bug report, with preprocessed source if appropriate. Contact <URL:mailto:report@adacore.com> for instructions. c:program filesnimrodexamplesgtknimcachegtk2.c: In function 'gtk2DatInit':
c:program filesnimrodexamplesgtknimcachegtk2.c:384:31: internal compiler e rror: Illegal instruction Please submit a full bug report, with preprocessed source if appropriate. Contact <URL:mailto:report@adacore.com> for instructions. c:program filesnimrodexamplesgtknimcacheatk.c: In function 'atkInit': c:program filesnimrodexamplesgtknimcacheatk.c:26:18: internal compiler err or: Illegal instruction Please submit a full bug report, with preprocessed source if appropriate. Contact <URL:mailto:report@adacore.com> for instructions. Error: execution of an external program failed
Okay, I got past this error. The issue seems to be that nimrod expects the gcc tools to be on the path, and if another toolset also uses gcc and comes first in the path, those tools are used instead. I worked around this problem by putting nimrod first in the PATH.
On to the next problem, Windows 7 permission issue ...