> We need to use newlib. when to link with gcc ? whether using newlib will > solve the above error ?
It will. One way that you can get gcc to build newlib is to sym link the newlib sources into the gcc tree. The GCC build system will detect this and build newlib for you: cd gcc-4.3 # say ln -s ../src/libgloss . ln -s ../src/newlib . Questions about building gcc should really be directed to gcc-h...@gcc.gnu.org. Cheers, Ben