[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] TinyCC on NetBSD
From: |
u-tcc-uepj |
Subject: |
Re: [Tinycc-devel] TinyCC on NetBSD |
Date: |
Thu, 15 Oct 2015 09:44:03 +0200 |
On Thu, Oct 15, 2015 at 03:11:27AM +0200, Kamil Rytarowski wrote:
> I'm interested in building the NetBSD sources with TinyCC, i.e.
> integrating it with the build.sh [1] framework, and put TinyCC next to
> GCC, Clang/LLVM and PCC.
This would be a great achievement if you are ready to hack on tcc
much enough to make it up to the task.
> The general question is what are the politics regarding GCC emulation,
> is there intended to define __GNUC__? In in process of fixing the
> system headers against the compiler and researching what's missing in
> the compiler.
If the system can be compiled without defining __GNUC__, it would be much
cleaner, if you ask me.
> At the moment there is needed __builtin_va_list to be implemented in
> the compiler, as doing it in a clean way in the system headers is
> undesired.
Exactly, otherwise you end up with an almost- but not fully compatible
ABI between the different compilers.
Rune