From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7816 invoked by alias); 16 Mar 2010 15:21:42 -0000 Received: (qmail 7779 invoked by uid 22791); 16 Mar 2010 15:21:41 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.44.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 16 Mar 2010 15:21:37 +0000 Received: from kpbe16.cbf.corp.google.com (kpbe16.cbf.corp.google.com [172.25.105.80]) by smtp-out.google.com with ESMTP id o2GFLVci028215 for ; Tue, 16 Mar 2010 08:21:32 -0700 Received: from fg-out-1718.google.com (fgae21.prod.google.com [10.86.56.21]) by kpbe16.cbf.corp.google.com with ESMTP id o2GFLUpm020906 for ; Tue, 16 Mar 2010 08:21:30 -0700 Received: by fg-out-1718.google.com with SMTP id e21so66271fga.9 for ; Tue, 16 Mar 2010 08:21:29 -0700 (PDT) Received: by 10.87.63.22 with SMTP id q22mr7910389fgk.2.1268752889525; Tue, 16 Mar 2010 08:21:29 -0700 (PDT) Received: from coign.google.com (dhcp-172-22-126-240.mtv.corp.google.com [172.22.126.240]) by mx.google.com with ESMTPS id 14sm273522fxm.1.2010.03.16.08.21.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 16 Mar 2010 08:21:28 -0700 (PDT) To: Erik Rull Cc: gcc-help@gcc.gnu.org Subject: Re: Transitive Linking fails References: <4B9E6B2A.2080901@rdsoftware.de> From: Ian Lance Taylor Date: Tue, 16 Mar 2010 15:57:00 -0000 In-Reply-To: <4B9E6B2A.2080901@rdsoftware.de> (Erik Rull's message of "Mon\, 15 Mar 2010 18\:15\:22 +0100") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2010-03/txt/msg00203.txt.bz2 Erik Rull writes: > dir1/*.o dir2/libx.so -> dir3/liby.so where dir2/libx.so is statically > linked (using -static in the linker command). You can't statically link a shared object. Ian