On Tue, Jan 8, 2013 at 3:22 PM, horseriver <horserivers@xxxxxxxxx> wrote: > > during my compilation , I find a odd problem , > > in a .c file , there is no use of a function strcpy , but when link , > > ld report error : ec.c:(.text+0x1ade7): undefined reference to `strcpy' > > hot can I resolve this ? Either 1) provide a definition of strcpy or 2) use the -fno-hosted option. Ian