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 _______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
