From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/9995 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: Re: [J-core] musl-cross-make / litecross improvements Date: Wed, 4 May 2016 13:52:43 +0200 Message-ID: <20160504115242.GX22574@port70.net> References: <20160503044835.GA5517@brightrain.aerifal.cx> <5729C0B2.5080707@landley.net> <20160504111035.GW22574@port70.net> <5729DC9A.7090807@skarnet.org> 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 1462362780 14399 80.91.229.3 (4 May 2016 11:53:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 May 2016 11:53:00 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-10008-gllmg-musl=m.gmane.org@lists.openwall.com Wed May 04 13:53:00 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 1axvMQ-00005x-EY for gllmg-musl@m.gmane.org; Wed, 04 May 2016 13:52:58 +0200 Original-Received: (qmail 15713 invoked by uid 550); 4 May 2016 11:52:56 -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 15690 invoked from network); 4 May 2016 11:52:55 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline In-Reply-To: <5729DC9A.7090807@skarnet.org> User-Agent: Mutt/1.5.24 (2015-08-30) Xref: news.gmane.org gmane.linux.lib.musl.general:9995 Archived-At: * Laurent Bercot [2016-05-04 13:27:22 +0200]: > 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. yes, that works, you can cross build a toolchain with host==target and then it will be a native toolchain. (i havent tried it with mcm, but first you build a cross toolchain and then you should be able to use that to build the native one.) what i meant was that you can only use that toolchain in a native musl environment and for most users that's a distro with its own toolchain (otherwise you have to build busybox etc yourself).