> the command I am using is: > > abc-gcc sample1.c -lc -lgcc The functions you are missing (_write etc) are provided in libgloss. Have a look in newlib/libgloss/yourplatform. Cheers, JonB