From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32513 invoked by alias); 21 Oct 2002 17:57: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 32506 invoked from network); 21 Oct 2002 17:57:07 -0000 Received: from unknown (HELO ariel.eastgw.xerox.com) (208.140.33.25) by sources.redhat.com with SMTP; 21 Oct 2002 17:57:07 -0000 Received: from sdi-adm1.sdi.xcdg.xerox.com (sdi-adm1.sdi.xcdg.xerox.com [13.231.36.100]) by ariel.eastgw.xerox.com (8.9.3/8.9.3) with ESMTP id NAA20369; Mon, 21 Oct 2002 13:56:55 -0400 (EDT) Received: by sdi-adm1.sdi.xcdg.xerox.com with Internet Mail Service (5.5.2654.89) id <4QZGFZDW>; Mon, 21 Oct 2002 13:57:06 -0400 Message-ID: <8229C4577A00D511ABC00090277A45A0012361B3@us0111-ch-ms1.sdi.xcdg.xerox.com> From: "Venkatakrishnan, V" To: "'law@redhat.com'" Cc: gcc-help@gcc.gnu.org Subject: RE: Use +z or +Z to recompile... Date: Mon, 21 Oct 2002 10:57:00 -0000 MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2002-10/txt/msg00254.txt.bz2 Ah I see, now that I am using it during linking as well it worked, thanks Jeff :). But how come it wasn't sufficient to use it during compile only, why explicitly at link as well?? -----Original Message----- From: Jeff Law [mailto:law@porcupine.cygnus.com] Sent: Monday, October 21, 2002 2:03 PM To: Venkatakrishnan, V Cc: gcc-help@gcc.gnu.org Subject: Re: Use +z or +Z to recompile... In message <8229C4577A00D511ABC00090277A45A0012361B2@us0111-ch-ms1.sdi.xcdg.xer ox.com>, "Venkatakrishnan, V" writes: >Using -fPIC gives the same error. Did you use it when linking your shared library as well? jeff