public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* memmov/memset/memcpy without libc
@ 2012-06-14  7:31 Andreas Geißler
  2012-06-14  8:31 ` Georg-Johann Lay
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Geißler @ 2012-06-14  7:31 UTC (permalink / raw)
  To: gcc-help

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: memmov/memset/memcpy without libc
  2012-06-14  7:31 memmov/memset/memcpy without libc Andreas Geißler
@ 2012-06-14  8:31 ` Georg-Johann Lay
  2012-06-14  8:50   ` Andreas Geißler
  0 siblings, 1 reply; 3+ messages in thread
From: Georg-Johann Lay @ 2012-06-14  8:31 UTC (permalink / raw)
  To: Andreas Geißler; +Cc: gcc-help

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: memmov/memset/memcpy without libc
  2012-06-14  8:31 ` Georg-Johann Lay
@ 2012-06-14  8:50   ` Andreas Geißler
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Geißler @ 2012-06-14  8:50 UTC (permalink / raw)
  To: Georg-Johann Lay; +Cc: gcc-help

> 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.

Thanks for the tip that should solve my problem.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-06-14  8:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-14  7:31 memmov/memset/memcpy without libc Andreas Geißler
2012-06-14  8:31 ` Georg-Johann Lay
2012-06-14  8:50   ` Andreas Geißler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).