This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: Recompiling sysdeps .S files
- From: "Carlos O'Donell" <carlos at systemhalted dot org>
- To: "Rodrigo Dominguez" <roddomi at hotmail dot com>
- Cc: libc-help at sourceware dot org
- Date: Thu, 7 Aug 2008 08:37:49 -0400
- Subject: Re: Recompiling sysdeps .S files
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=VJilpe8UKhndBJCmGETchpj4QZt/zUmS4Nf8mX8bOjc=; b=Rg1Gq71EQnaZ0f6gQX+0RhehUyRT8jt/zVGIDkqH7dnJpcML+roaQ54uzT4I3njqCQ fZJ6ln+Wqzjgh/Nqg2W8w2aM5OKCupO6ydYuRKkBQn3olyaEX4t9RfRUElJas6wg6jic dLvxoKDTP6hrefUlNcmdrIHm0JoF8Vx+lZFUs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=saOGogsTKYSNK/qLzjTC5vlKel+ktLq/iOz/XgwPp+xt1G9jQSeHtrsPkZk/1j4D24 H40lcuL0yD1wygztk6N8l0S/H5MUm7cRNCVJ9LO5I3fXTwSUFjshuyveyk3hivrzNAiy 2uSVM+DnRfG24M9hzOSMS1dmDBLli0lErEbec=
- References: <BAY109-F3733871AB380699B59DD39B9750@phx.gbl>
On Wed, Aug 6, 2008 at 10:48 PM, Rodrigo Dominguez <roddomi@hotmail.com> wrote:
> I modified memcpy in string/memcpy.c. I would like to rebuild glibc to
> include my changes. I noticed that the "configure/make/make install"
> building process uses the .S files under sysdeps. How can I recompile these
> files to include my changes? I imagine there is a way to do this using make?
The .S files in the machine sysdep directories are optimized assembly
implementations of the similarly named .c file.
The sysdep directories are scanned last, and if they contain alternate
implementations, they are used in preference to the generic one.
In order to use your string/memcpy.c, you need to remove all memcpy.S
files for your machine, and then rebuild.
Cheers,
Carlos.