This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: New .S file did not get compiled, please help
- From: "Ryan Arnold" <ryan dot arnold at gmail dot com>
- To: wuxi <wu dot andrew dot xi at gmail dot com>
- Cc: glibc-help <libc-help at sourceware dot org>
- Date: Sun, 14 Sep 2008 10:23:29 -0500
- Subject: Re: New .S file did not get compiled, please help
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=W9whHfzKckGn9fcLi4gwIGeA53ba5URZQ6ee0byvAT4=; b=djRq4/HQPotlrrOxbRGkFv4YkfQlHj10OB0U0KPZHdT1Q8E0w7Pr2HAHUFTE1kfppD OwwQEwln7gFfZCRCe+WEn8KWSgSGeezUGFVGgiAoMuZYVJSyqzneItPC5GoV8y45UMCT ECEYBe7E0Oip8BMheyauEpmm0ocrEauZxWTsE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=VMm+tV/S1sZXDrk3JrGS2GNBiNtAxjOFniOTfhXDRSkkgkrzBi94w7NqPJEXosyr1n PCkqa8jdPNpP2N0YJkvHSJgJ7raRZ7J4QTRRYXWZU3YOpXlh3BfZ+IwXc6hkygWVmaBd NbaXdF/qTuO5ez7qRidt4QuyyxoURrjs/x9ts=
- References: <48CBE889.1080303@gmail.com> <ff4da150809131415n965bdc0xa120852a390c61d6@mail.gmail.com> <48CC6B10.8010504@gmail.com>
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?
>