From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/5030 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: Co-existing i386 and x86_64 libraries? Date: Fri, 2 May 2014 12:13:55 -0400 Message-ID: <20140502161355.GV26358@brightrain.aerifal.cx> References: <53602595.5080605@f-prot.com> <20140430030053.GF26358@brightrain.aerifal.cx> <536377AE.1050602@f-prot.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1399047260 20989 80.91.229.3 (2 May 2014 16:14:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 2 May 2014 16:14:20 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-5034-gllmg-musl=m.gmane.org@lists.openwall.com Fri May 02 18:14:13 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1WgG6F-0007Sv-1y for gllmg-musl@plane.gmane.org; Fri, 02 May 2014 18:14:11 +0200 Original-Received: (qmail 29865 invoked by uid 550); 2 May 2014 16:14:10 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 29854 invoked from network); 2 May 2014 16:14:10 -0000 Content-Disposition: inline In-Reply-To: <536377AE.1050602@f-prot.com> User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:5030 Archived-At: On Fri, May 02, 2014 at 10:47:10AM +0000, Oliver Schneider wrote: > Hi Rich, all, > > On 2014-04-30 03:00, Rich Felker wrote: > > You need separate libdirs for each arch. This is fundamental; it's not > > specific to musl. > But the include dirs can be shared, or are the headers being "primed" > somehow, during the build? I was talking about things needed for runtime. For development you even need separate bin dirs (think pkg-conf, getconf, etc.) for the configure scripts to work right. At present musl's headers can be shared between archs except for the bits subdir (so you can make a custom install where bits isn't in the shared include dir, and instead add it to gcc's default include path) but this isn't a permanent guarantee that it will work that way. You're best off having all development-related files be separate per-arch. Rich