[EMAIL PROTECTED] wrote:
> 
> Hello,
> 
> I'm trying to compile a small program I write (actually part of iit). Unfortunately 
>there are memcpy (and also strcpy) call in my code. I though that GCC convert them to 
>builtins and so no call are made. And it seems to work ... on some filesonly ...
> I'm using GCC version  egcs 2.91.66. Does anybody know an easy way to get these 
>builtin function working ? I even try to use the name __builtin_memcpy (as GCC doc 
>states) but a simple nm on my object file shows an undefined memcpy symbol. I'm sure 
>there
> must be a way to avoid it because the kernel code use memcpy and have no memcpy in 
>the system.map file so I can expect to  be able to do the same.
> 
> Laurent
> 
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> ---
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/

If you write a RT program, you should include linux/string.h file 
which will include asm/string.h file where the memcopy is inlened.

Joel
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to