From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32367 invoked by alias); 3 Jan 2005 02:23:08 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 31863 invoked from network); 3 Jan 2005 02:23:01 -0000 Received: from unknown (HELO hotmail.com) (64.4.49.25) by sourceware.org with SMTP; 3 Jan 2005 02:23:01 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 2 Jan 2005 18:23:00 -0800 Message-ID: Received: from 24.59.37.124 by by14fd.bay14.hotmail.msn.com with HTTP; Mon, 03 Jan 2005 02:22:36 GMT X-Originating-Email: [xuhaizhi@hotmail.com] X-Sender: xuhaizhi@hotmail.com In-Reply-To: <1104710023.13286.0.camel@localhost> From: "Haizhi Xu" To: sohail@sohailsomani.com Cc: gcc-help@gcc.gnu.org Bcc: Subject: Re: Question on glibc customization--exporting errno and__errno_location Date: Mon, 03 Jan 2005 02:23:00 -0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 03 Jan 2005 02:23:00.0487 (UTC) FILETIME=[25546970:01C4F13B] X-SW-Source: 2005-01/txt/msg00003.txt.bz2 >>On Sun, 2005-01-02 at 03:11 +0000, Haizhi Xu wrote: > > Hi, all: > > I need to customize the glibc to export 'errno' and 'errno_location' as > > external symbol. Now I modified the include/errno.h and the following is > > what I have changed. > > ... > >Did you try a clean build? > Yes, I did and it did not work. I have solved the problem. I found that I need to modify both the errno.h and ./linuxthreads/sysdeps/pthread/errno-loc.c Thanks a lot, any way. Haizhi