From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18686 invoked by alias); 19 Mar 2007 21:15:56 -0000 Received: (qmail 18678 invoked by uid 22791); 19 Mar 2007 21:15:56 -0000 X-Spam-Check-By: sourceware.org Received: from an-out-0708.google.com (HELO an-out-0708.google.com) (209.85.132.249) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 19 Mar 2007 21:15:54 +0000 Received: by an-out-0708.google.com with SMTP id c10so1295694ana for ; Mon, 19 Mar 2007 14:15:52 -0700 (PDT) Received: by 10.100.33.14 with SMTP id g14mr4217924ang.1174338952368; Mon, 19 Mar 2007 14:15:52 -0700 (PDT) Received: by 10.100.205.4 with HTTP; Mon, 19 Mar 2007 14:15:52 -0700 (PDT) Message-ID: Date: Mon, 19 Mar 2007 21:34:00 -0000 From: "Andrew Pinski" To: sje@cup.hp.com Subject: Re: Patch to not link in libgfortranbegin.a when building ftn shared libs Cc: fortran@gcc.gnu.org, gcc-patches@gcc.gnu.org, fxcoudert@gmail.com, paul@codesourcery.com, stevenb.gcc@gmail.com In-Reply-To: <200703192006.NAA05229@hpsje.cup.hp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200703192006.NAA05229@hpsje.cup.hp.com> X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2007-03/txt/msg01281.txt.bz2 On 3/19/07, Steve Ellcey wrote: > OK to checkin? Tested on IA64 HP-UX and Linux with no problems, though > I found it odd that on Linux GCC includes crtendS.o and crtn.o in the > link line when gfortran (or gcc) with -shared to make a shared library. Most likely -dynamiclib also needs to be handled, the same way for Darwin. Thanks, Andrew Pinski