From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/9994 Path: news.gmane.org!not-for-mail From: Laurent Bercot Newsgroups: gmane.linux.lib.musl.general Subject: Re: Re: [J-core] musl-cross-make / litecross improvements Date: Wed, 4 May 2016 13:27:22 +0200 Message-ID: <5729DC9A.7090807@skarnet.org> References: <20160503044835.GA5517@brightrain.aerifal.cx> <5729C0B2.5080707@landley.net> <20160504111035.GW22574@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1462361254 22102 80.91.229.3 (4 May 2016 11:27:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 May 2016 11:27:34 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-10007-gllmg-musl=m.gmane.org@lists.openwall.com Wed May 04 13:27:33 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 1axuxo-0005Ad-Ky for gllmg-musl@m.gmane.org; Wed, 04 May 2016 13:27:32 +0200 Original-Received: (qmail 24499 invoked by uid 550); 4 May 2016 11:27:30 -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 24475 invoked from network); 4 May 2016 11:27:29 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 In-Reply-To: <20160504111035.GW22574@port70.net> Xref: news.gmane.org gmane.linux.lib.musl.general:9994 Archived-At: On 04/05/2016 13:10, Szabolcs Nagy wrote: >> Still no native toolchains. :) >> > > for native you need a musl based host > at which point you can use a musl based > distro that provides native toolchains. Huh? And what if you *are* the musl-based distro and need to build said native toolchain? I'm surprised to hear you, of all people, mentioning "relying on your distro" as a solution. :P I've had success, with the previous iteration of musl-cross-make, building native toolchains via disabling --host in COMMON_CONFIG (and compiling gmp, mpfr and mpc for the target first). In other words, host=target (even if build!=host). They're still considered cross-toolchains, as in the binaries are prefixed with ${ARCH}- , but they work. I'm not sure whether it's still possible with the current version of mcm. -- Laurent