This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: New .S file did not get compiled, please help


memcpy, bcopy, etc are already defined in a generic Makefile shallower
in the tree.  The only reason you have to add shift-memcpy.S in
sysdeps/ia64/Makefile is because you're providing a file that is
specific to ia64 alone, otherwise you'd add it to one of the shallower
generic Makefiles instead.

Regards,
Ryan S. Arnold

On Sat, Sep 13, 2008 at 8:38 PM, wuxi <wu.andrew.xi@gmail.com> wrote:
>
>> If you added shift_memcpy.S to sysdeps/ia64/ you need to make sure you
>> add 'shift_memcpy' to the 'routines' variable in sysdeps/ia64/Makefile
>> so that GNU make picks it up as a target for libc.
>>
>
> sorry, now it works, I mistake the file name 'shift_memcpy.S' for
> 'shift-memcpy.S',
> so the file name must match, right?
>
> one more question, I found makefile under sysdeps/ia64 does not contain
> lines for memcpy, bcopy, etc, so how can glibc finally know bcopy.S should
> be built instead of bcopy.c under string directory?
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]