Hi,

On Sat, 16 Apr 2016, [email protected] wrote:

So, the implementation of __clear_cache (and only it!) needs to be provided by tcc itself, but only when compiling with pcc. I.e. some file

__clear_cache() or the lack of it is not pcc-specific at all, actually it is gcc-specific by definition and gcc-version-specific too.

Sure, but tcc needs the functionality, so it needs to provide an implementation of it in one way or the other (either by reusing the GCC variant if available or by implementing its own).

This discussion made me look at the commit
5ee097fce9dee7eb4dc782c5d6bce75c01243d63
"allow to compile tcc by pcc"

Sigh, another one of those fast-fingered hacks :-/

(That's my worry with randomly trying to use other compilers for building tcc: accumulating more of these crap hacks without putting in a real solution).


Ciao,
Michael.

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to