From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 350 invoked by alias); 9 Jul 2009 12:17:35 -0000 Received: (qmail 341 invoked by uid 22791); 9 Jul 2009 12:17:34 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-ew0-f225.google.com (HELO mail-ew0-f225.google.com) (209.85.219.225) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 09 Jul 2009 12:17:25 +0000 Received: by ewy25 with SMTP id 25so129357ewy.8 for ; Thu, 09 Jul 2009 05:17:22 -0700 (PDT) Received: by 10.210.63.2 with SMTP id l2mr9517733eba.32.1247141842755; Thu, 09 Jul 2009 05:17:22 -0700 (PDT) Received: from ?192.168.2.99? (cpc2-cmbg8-0-0-cust61.cmbg.cable.ntl.com [82.6.108.62]) by mx.google.com with ESMTPS id 5sm5976945eyf.54.2009.07.09.05.17.21 (version=SSLv3 cipher=RC4-MD5); Thu, 09 Jul 2009 05:17:22 -0700 (PDT) Message-ID: <4A55E2CF.3000600@gmail.com> Date: Thu, 09 Jul 2009 12:17:00 -0000 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Basile STARYNKEVITCH CC: Dave Korn , gcc@gcc.gnu.org Subject: Re: libiberty should be a shared library when cc1 has plugin enabled. References: <20090709084949.GA27192@hector.lesours> <4A55DA6F.2090001@gmail.com> <4A55DB58.5080002@starynkevitch.net> In-Reply-To: <4A55DB58.5080002@starynkevitch.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-07/txt/msg00162.txt.bz2 Basile STARYNKEVITCH wrote: > Dave Korn wrote: >> >>> We might also artificially add a reference to each libiberty function >>> from >>> cc1. >> >> Or link it into cc1 et al. using "--whole-archive". >> >> > Sorry, I am not aware of this option. And are we sure it works on all > the systems GCC is supposed to run on? Ach. It requires GNU ld, of course. We could just link the objects from the libiberty/ dir into cc1 (etc.) instead of the lib .a archive. cheers, DaveK