|>% cgcc -G -o minix.xfs init.o minixfs.o minixdev.o io.o cache.o dir.o |>inode.o zone.o main.o trans.o misc.o bitmap.o check.o init.o |>tinyxhdi.o kludge.o hdio.o -lgnu16 |>/data/sjg/gcc/lib/gnu16.olb(main.o): Undefined symbol "_main" There should be the option -nostdlib . It prevents gcc from linking with the standard-startupcode and with the standard-libs. Regards, Bjarne