From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10155 Path: news.gmane.org!not-for-mail From: Masanori Ogino Newsgroups: gmane.linux.lib.musl.general Subject: Re: Building multilib musl? Date: Fri, 17 Jun 2016 21:07:05 +0900 Message-ID: References: <20160616152138.GG10893@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1466165245 28965 80.91.229.3 (17 Jun 2016 12:07:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Jun 2016 12:07:25 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-10168-gllmg-musl=m.gmane.org@lists.openwall.com Fri Jun 17 14:07:23 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1bDsYT-0000Bf-T7 for gllmg-musl@m.gmane.org; Fri, 17 Jun 2016 14:07:21 +0200 Original-Received: (qmail 31779 invoked by uid 550); 17 Jun 2016 12:07:18 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 31759 invoked from network); 17 Jun 2016 12:07:17 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=fFNGCQAjHCwbU5nOblncH8fUH9sva+FTF0E69oJogvw=; b=UHdRxN/pjAogPy3P8DMrH5DdF61uUE7DKaZS0HucrdZUHRGGBDugFryGjdf/rrmlKK JACJRMPD8kt5f1WUTQgqiuHQenQDZYco1F83KoMnqRcAGZYb8kddVcYWVs3oQqs2YTE4 EEpM0JSP8Iv8bA/OVHCbA7I/e2Gmjo/WNuvT7mtNNBXj+uR5GtLFPi6usXkVObZOEdZV hGC5g1JainqOUy9pxUNohgCm2aqNpK1hBkbG8pFLBz1xKBoWAhfYakzmDJADcz/JQg7z g1Cwivhdzua1JDzDr2UTy7M1AoJeZbjJs1sI8nzKACemOxXDYJ83OuVm6gieGfeO110C 1RCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=fFNGCQAjHCwbU5nOblncH8fUH9sva+FTF0E69oJogvw=; b=PYpbPc/SWpVmC3ECmLO97ofc0a+budd/Wzpswv7zVdLOBc1Pw7iE3ixm2EoimxG/KI BxXlmmsvi19fBfOOqj8rwx6sxkAyTP+NlAOWgM1gYJDxWtkC0p6fZ9i9HT2l2gFUDmO+ Xhh542jjQZXvCfVqGMWS+qM7KB3sXOCSEfmDUI8410iSm/64TqGSuS2nb20thbpN7mcR I0pKkqDIvgkgO31Bo7bGv7toCCIGjS9w/QhV1yfgGS4IAvzX5fD4Iu/LR9EKdfzd2sRq h+NOIHW3DBXfp/qVVoiK8rH5EGOwtm5OGrwZnKVbvVzxCY+jc8rh+0t6cGqfx1MYwkLP IWhw== X-Gm-Message-State: ALyK8tJcdvthFEUyS9YLS0f6mtPdK2uZAQ7THGoZFlufhr40v7xL4Wl6ztV8A3JllZ0ibxBMozmc6rKmBJYZlA== X-Received: by 10.202.206.9 with SMTP id e9mr1045424oig.9.1466165225653; Fri, 17 Jun 2016 05:07:05 -0700 (PDT) Original-Sender: masanoriogino@gmail.com In-Reply-To: <20160616152138.GG10893@brightrain.aerifal.cx> X-Google-Sender-Auth: MpNFb7Uqk-Yp0hGAP3uk2aCDmD4 Xref: news.gmane.org gmane.linux.lib.musl.general:10155 Archived-At: 2016-06-17 0:21 GMT+09:00 Rich Felker : > On Thu, Jun 16, 2016 at 11:56:22PM +0900, Masanori Ogino wrote: >> Hello, >> >> How can we build musl for a multilib environment? I could not find >> multilib configuration, so I guess we need to build musl for each >> configuration to accomplish. Is it correct? > > Yes, but it's designed so that you can easily host them all on the > same system. For dynamic linking, the dynamic linker for each has a > different name and reads a different path config file (matching its > name) from /etc, so you just need to install your libs to separate > paths. For static linking it's all just a matter of how you do your > build environment since the libs don't even need to be present at > runtime. > > Rich OK, now it is clear to me. Thank you! -- Masanori Ogino