From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19623 invoked by alias); 13 Dec 2001 17:26:42 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 19602 invoked from network); 13 Dec 2001 17:26:42 -0000 Received: from unknown (HELO dublin.ACT-Europe.FR) (212.157.227.154) by sources.redhat.com with SMTP; 13 Dec 2001 17:26:42 -0000 Received: by dublin.ACT-Europe.FR (Postfix, from userid 525) id 4EC2622A0C1; Thu, 13 Dec 2001 18:27:09 +0100 (MET) Date: Thu, 13 Dec 2001 09:40:00 -0000 From: Arnaud Charlet To: Richard Henderson , Arnaud Charlet , gcc@gcc.gnu.org Subject: Re: Use of -fPIC on Tru64 Message-ID: <20011213182709.A13481@dublin.int.act-europe.fr> References: <20011213102908.B10630@dublin.int.act-europe.fr> <20011213014003.C1122@redhat.com> <20011213104446.A14306@dublin.int.act-europe.fr> <20011213092349.A6807@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011213092349.A6807@redhat.com>; from rth@redhat.com on Thu, Dec 13, 2001 at 09:23:49AM -0800 X-SW-Source: 2001-12/txt/msg00702.txt.bz2 > > But then, why does libgcc need to be compiled with -fPIC on Tru64 ? > > For the same reason it has to be compiled with -fPIC on > other platforms -- so that it can be included in shared > libraries. I'm sorry, but I am still missing something. >From what you said, -fPIC on Tru64 only changes behavior of functions inside the same object. Why do functions inside same objects for libgcc need to be compiled with -fPIC ? That does not seem necessary to me. Arno