From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-4316.protonmail.ch (mail-4316.protonmail.ch [185.70.43.16]) by sourceware.org (Postfix) with ESMTPS id 588693858D28 for ; Mon, 4 Oct 2021 20:23:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 588693858D28 Date: Mon, 04 Oct 2021 20:23:05 +0000 To: gcc-help@gcc.gnu.org From: Anthony de Almeida Lopes Reply-To: Anthony de Almeida Lopes Subject: Re: Simple C compiler Message-ID: <9839d208-b4cb-3ee5-4d90-8eeabd64a5af@falsifiable.net> In-Reply-To: References: <2055e796-beb1-d9e6-e3bb-86c01c145969@gmail.com> <7c0b247e-456c-8707-17b1-59e87db10598@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_SHORT, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Oct 2021 20:23:17 -0000 On 10/4/21 9:30 PM, Dan Kegel wrote: > And then if you're interested in bootstrapping from zero, I think there a= re > a few tiny c compilers written in Forth! There's also GNU Mes [1] and the bootstrappable [2] stuff for that. They maintain a version of GCC 4.7 for that purpose. 1. https://www.gnu.org/software/mes/ 2. https://bootstrappable.org/projects.html > e.g. maybe > https://groups.google.com/g/comp.lang.forth/c/lBYFfVJ1qhc > - Dan > > Vladimir Makarov via Gcc-help schrieb am Mo., 4. > Okt. 2021, 12:03: > >> On 2021-10-04 12:59 a.m., J Decker via Gcc-help wrote: >>> https://github.com/open-watcom/open-watcom-v2/tree/master/bld/cc/c as a= n >>> alternative there is also openwatcom. >>> or I guess https://github.com/drh/lcc although I've not used this; >> seemed >>> almost like a compiler lacking a linker... >>> >> The following link contains comparison of 9 C compilers on generated >> code performance, compiler speed, and compiler size: >> >> >> https://developers.redhat.com/blog/2021/04/27/the-mir-c-interpreter-and-= just-in-time-jit-compiler#how_the_mir_c_compiler_compares_with_other_c_comp= ilers >> >> >>