tinycc-devel
[Top][All Lists]
Advanced

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

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


From: u-jps5
Subject: Re: [Tinycc-devel] Add support of musl-libc to tinycc
Date: Fri, 12 May 2017 18:00:21 +0200

On Fri, May 12, 2017 at 05:19:15PM +0200, Kamil Rytarowski wrote:
> On 11.05.2017 21:53, avih wrote:
> > <dalias> by providing the intrinsics (__builtin_va*)
> > <Shiz> musl relies on __builtin_va_list and the likes
> 
> NetBSD libc has hard requirement on __builtin_va_list (or some
> equivalent builtin). Without it, we cannot use TCC on NetBSD.

Would you elaborate in which way the requirement is "hard"?

An implementation of va_list is not itself a part of the calling
conventions, it should be possible to use whatever mechanics the compiler
chooses, builtins, macros or inlined/static functions.

Is the limitation like "no support to avoid a certain definition of
va_list which is hidden inside the standard includes"? Then in theory
it could still be worked around, by using a modified copy of up to
all the system includes (which would be not pretty but possible).

Regards,
Rune




reply via email to

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