From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4558 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: Musl + TCC Date: Sun, 9 Feb 2014 16:43:08 -0500 Message-ID: <20140209214308.GO15627@brightrain.aerifal.cx> References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1391982195 21041 80.91.229.3 (9 Feb 2014 21:43:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Feb 2014 21:43:15 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4562-gllmg-musl=m.gmane.org@lists.openwall.com Sun Feb 09 22:43:24 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 1WCc9r-00057v-Pj for gllmg-musl@plane.gmane.org; Sun, 09 Feb 2014 22:43:23 +0100 Original-Received: (qmail 13524 invoked by uid 550); 9 Feb 2014 21:43:21 -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 13512 invoked from network); 9 Feb 2014 21:43:21 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:4558 Archived-At: On Sun, Feb 09, 2014 at 09:15:28PM +0100, Daniel Cegiełka wrote: > 2014-02-09 21:07 GMT+01:00 Andre Renaud : > > Hi, > > Has anyone had a go at building musl with Tiny-CC http://bellard.org/tcc/? > > and libfirm/cparser? :) > http://pp.ipd.kit.edu/firm/ If I remember correctly, last I checked, libfirm/cparser was working fine for static linking, but did not support dynamic linking (it completely lacked position-independent code generation, i.e. -fPIC). There were some problems with complex and some floating point things, but I think they were all fixed. I built a static libc.a with cparser and the results passed basic testing. This is definitely the most promising GCC-alternative compiler I've seen, so if anybody's up for helping promote it and/or contribute to the project, that would be great. Rich