memmov/memset/memcpy without libc
Georg-Johann Lay
gjl@gcc.gnu.org
Thu Jun 14 08:31:00 GMT 2012
Andreas GeiÃler schrieb:
> Hi,
> I'm trying to port gcc for my own target system.
> I want to avoid the compilation of libc, therefore i use
> -nodefaultlibs for compiling.
> But if I want to still use memmov/memset/memcpy where do i have describe them?
> A define expand memmov does not seem to be sufficient.
>
> Tanks in advance.
>
> Best regards,
> Andreas
You could supply implementations in an own library or put them in libgcc.
Usage of memmov depends on MOVE_RATIO, similar for the other mem insn.
More information about the Gcc-help
mailing list