mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@aerifal.cx>
To: musl@lists.openwall.com
Subject: Re: Musl + TCC
Date: Sun, 9 Feb 2014 16:50:30 -0500	[thread overview]
Message-ID: <20140209215030.GP15627@brightrain.aerifal.cx> (raw)
In-Reply-To: <CAPfzE3Zuwn7s0DgSQhnj94X6QSeEPmofif7CRb0S+LcQR+88Ow@mail.gmail.com>

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 <stdarg.h> (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


  parent reply	other threads:[~2014-02-09 21:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-09 20:07 Andre Renaud
2014-02-09 20:15 ` Daniel Cegiełka
2014-02-09 21:43   ` Rich Felker
2014-02-09 21:53     ` Luca Barbato
2014-02-09 21:50 ` Rich Felker [this message]
2014-02-09 22:48 ` Szabolcs Nagy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140209215030.GP15627@brightrain.aerifal.cx \
    --to=dalias@aerifal.cx \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).