--- gforth/engine/main.c 2007/01/21 23:22:29 1.174 +++ gforth/engine/main.c 2007/03/18 21:46:17 1.175 @@ -282,6 +282,7 @@ static Cell min(Cell a, Cell b) return abase != image) - gforth_relocate(image, reloc_bits, ((ImageHeader *)image)->image_size, - (Label*)gforth_engine(0, 0, 0, 0, 0)); +#ifdef STANDALONE + image = gforth_engine(0, 0, 0, 0, 0); alloc_stacks((ImageHeader *)image); #else image_file = open_image_file(imagename, path);