于 2011/10/24 17:50, Sebastian Huber 写道:
/tmp/ccTLtFeu.lto.o: In function `memcpy':
20010124-1.o:(.text+0x4): multiple definition of `memcpy'
/home/sh/b-arm-gcc/arm-rtemseabi4.11/./newlib/libc.a(lib_a-memcpy.o):/home/sh/archive/gcc-4.6-20111021-work/newlib/libc/string/memcpy.c:79:
first defined here
collect2: ld returned 1 exit status
Try to use "-Wl, --allow-multiple-definition "
In earlier days, ld on MinGW has this bug, and it has been fixed in CVS,
but I don't know arm target.
--
Best Regards,
xunxun