[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Add support of musl-libc to tinycc

From: Larry Doolittle
Subject: Re: [Tinycc-devel] Add support of musl-libc to tinycc
Date: Sun, 7 May 2017 09:56:44 -0700
User-agent: Mutt/1.5.21 (2010-09-15)

Michael -

On Sun, May 07, 2017 at 08:16:08AM +0200, Michael Matz wrote:
> On debian, if you have libc6-dev and musl-dev installed you get a
> [mess that doesn't work with tinycc].
> So, yeah, the detection/support of musl
> is early and doesn't work with the split-mind approach that debian
> is using.
> It does work for the setup of musl as the main libc, like with
> alpine linux; so I'm not sure the detection should be disabled or
> rather be improved (or there should perhaps be a configure option to
> override the detection by users).

OK, sounds good, as long as improving the test results in it being
disabled by default in debian and similar systems.  I'd hate to see
noobs discouraged from using this otherwise really nice code base
by broken-ness caused by a false-positive musl detector.

> >gcc-4.7.4/gcc/c-family/c-opts.c:141: error: ';' expected (got "=")
> Yeah, thanks for finding the cause downthread.  extern file-scope
> declarations with initializer are questionable style but indeed
> allowed by the standard, i.e. the above rejection is a bug in TCC.
> Fixed in mob.

Confirmed, awesome, thanks!

  - Larry

reply via email to

[Prev in Thread] Current Thread [Next in Thread]