From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:59881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJGPb-0005Rl-NL for guix-patches@gnu.org; Wed, 24 Apr 2019 07:50:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hJGPa-00054D-7q for guix-patches@gnu.org; Wed, 24 Apr 2019 07:50:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41658) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hJGPa-000549-3y for guix-patches@gnu.org; Wed, 24 Apr 2019 07:50:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hJGPZ-0008D4-V2 for guix-patches@gnu.org; Wed, 24 Apr 2019 07:50:01 -0400 Subject: [bug#35411] [PATCH] Add hedgewars Resent-Message-ID: From: Nicolas Goaziou References: <87y33zrfyu.fsf@nicolasgoaziou.fr> <87mukf65wr.fsf@elephly.net> Date: Wed, 24 Apr 2019 13:49:09 +0200 In-Reply-To: <87mukf65wr.fsf@elephly.net> (Ricardo Wurmus's message of "Wed, 24 Apr 2019 12:42:28 +0200") Message-ID: <87sgu7r5ca.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ricardo Wurmus Cc: 35411@debbugs.gnu.org Hello, Ricardo Wurmus writes: >> + ;; XXX: Engine is written as Pascal source code, requiring Free Pa= scal >> + ;; Compiler, which we haven't packaged yet. With the flag below, = we use >> + ;; a Pascal to C translator and Clang instead. > > I tried to package Free Pascal a long time ago, but the compiler is > written in Pascal and the GNU Pascal compiler which I tried to use for > bootstrapping could not be built=E2=80=A6 Ditto. According to http://www.stack.nl/~marcov/buildfaq.pdf (section 1.2.5), bootstrapping from source is vain. > What is this Pascal to C translator? Does this mean that we=E2=80=99re u= sing > generated C files here? It is a Haskell program, named pas2c, bundled with hedgewars. See . AFAIU, it turns ".pas" files into ".c", and the build process compiles those. IOW, it looks good enough. Regards, --=20 Nicolas Goaziou