[Top][All Lists]

[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 (Windows/20080213)



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


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

reply via email to

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