about the memcpy function in glibc

Aug 08, 2007 2 Replies

dear all,



During building the Glibc2.5, I found that the implementation of some functions have both assembly source code and C source code in Glibc. For example, there are two memcpy() implementation in .../string/memcpy.c and .../ports/sysdeps/mips/memcpy.S. it is similarly glibc will use memcpy.S in default. My question is how to compile the glibc with the memcpy.c not the memcpy.S?


Best regards, Tony



Why?

Med venlig hilsen/mojn/regards Martin Hansen Center for Software Innovation Stenager 2, DK-6400 S?nderborg, Web: www.cfsi.dk

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required