tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] using pcc to build tcc


From: Michael Matz
Subject: Re: [Tinycc-devel] using pcc to build tcc
Date: Sun, 17 Apr 2016 20:23:02 +0200 (CEST)
User-agent: Alpine 2.20 (LSU 67 2015-01-07)

Hi,

On Sat, 16 Apr 2016, address@hidden 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.



reply via email to

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