avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] memcpy


From: Andy H
Subject: Re: [avr-gcc-list] memcpy
Date: Sat, 29 Mar 2008 11:29:44 -0400
User-agent: Thunderbird 2.0.0.12 (Windows/20080213)

Try

-*no*-*builtin-memcpy

*on gcc command line. This should use library call instead of inline expansion. Inline expansion is quicker and not much bigger if you have optimization turned on.*

Andy

*
David Kelly wrote:

On Mar 29, 2008, at 4:58 AM, Wynand Weyers wrote:
How do I get memcpy not to compile inline?

Write your own? Its not that hard.

Or make a copy of the existing memcpy() in your project and remove the inline directive?

Looking at avr-libc-1.6.1/libc/string/memcpy.S I don't understand your question. memcpy() isn't an inline function, its a called function like most everything else.

--
David Kelly N4HHE, address@hidden
========================================================================
Whom computers would destroy, they must first drive mad.





_______________________________________________
AVR-GCC-list mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list




reply via email to

[Prev in Thread] Current Thread [Next in Thread]