From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/7777 Path: news.gmane.org!not-for-mail From: Richard Pennington Newsgroups: gmane.linux.lib.musl.general Subject: Re: Using Musl with LLVM/Clang Date: Tue, 26 May 2015 20:20:46 -0500 Message-ID: <55651BEE.1050404@pennware.com> References: <12AE8608-7269-4325-9566-9897073E61A3@shiz.me> <20150526013741.GY17573@brightrain.aerifal.cx> <2C35A69F-3A8A-4EDE-86CA-029A9B9BDD45@shiz.me> 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: 8bit X-Trace: ger.gmane.org 1432689791 26299 80.91.229.3 (27 May 2015 01:23:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 May 2015 01:23:11 +0000 (UTC) Cc: =?UTF-8?B?THVjYXMgU2ltw7Vlcw==?= , Justin Cormack , Paulo Castro To: musl@lists.openwall.com Original-X-From: musl-return-7789-gllmg-musl=m.gmane.org@lists.openwall.com Wed May 27 03:23:04 2015 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 1YxQ3j-0007EI-JB for gllmg-musl@m.gmane.org; Wed, 27 May 2015 03:23:03 +0200 Original-Received: (qmail 21754 invoked by uid 550); 27 May 2015 01:23:02 -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 21704 invoked from network); 27 May 2015 01:23:01 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 In-Reply-To: X-RR-Connecting-IP: 107.14.168.130:25 X-Cloudmark-Score: 0 Xref: news.gmane.org gmane.linux.lib.musl.general:7777 Archived-At: On 05/26/2015 07:23 PM, Lucas Simões wrote: > Thank you for the quick response guys! > That's really sad, I was truly hoping to find a way to use musl out of > the box with Clang (on my Arch) > Guess I'll just have to check the toolchains on this ELLCC project > Hi Lucas, I did make some modifications to clang to make it easier (for me at least) to cross compile stuff, including musl, libc++, etc.My changes are pretty simple, but involve adding configuration files for different architectures. Most recently, I was playing with ARM Cortex-M3 (http://ellcc.org/blog/?p=23234), but similar stuff can be used for several different targets (http://ellcc.org/viewvc/svn/ellcc/trunk/libecc/config/). I did it because I like to compile from the command line without a bunch of options for #includes, etc, because I'm essentially lazy. If you decide to try ELLCC, don't hesitate to ask for help if you encounter any problems. -Rich (not *that* rich)