From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4559 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:50:30 -0500 Message-ID: <20140209215030.GP15627@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=us-ascii X-Trace: ger.gmane.org 1391982634 25941 80.91.229.3 (9 Feb 2014 21:50:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Feb 2014 21:50:34 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4563-gllmg-musl=m.gmane.org@lists.openwall.com Sun Feb 09 22:50:43 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 1WCcGx-0007kC-Ep for gllmg-musl@plane.gmane.org; Sun, 09 Feb 2014 22:50:43 +0100 Original-Received: (qmail 17876 invoked by uid 550); 9 Feb 2014 21:50:42 -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 17866 invoked from network); 9 Feb 2014 21:50:42 -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:4559 Archived-At: On Mon, Feb 10, 2014 at 09:07:55AM +1300, Andre Renaud wrote: > Hi, > Has anyone had a go at building musl with Tiny-CC http://bellard.org/tcc/? > > I was trying to see what the smallest self-hosting Linux system I > could make was, but had grief building musl due to TCC's lack of > complex support (which is relatively easily removed from musl, just a > couple of #includes and removing the src/complex directory). I then > had problems with (va_list not being properly defined), and > finally a crash in tcc which I couldn't quite track down. Before I get > into it too much more, I was wondering if anyone had done this before? Could you elaborate on the stdarg.h problem? It might just work to use the legacy non-GNUC definitions. I can't recall whether anyone has successfully built musl with tcc. My guess would be that the dynamic linking doesn't work, but static linking might. Rich