GNU bug report logs - #35411
[PATCH] Add hedgewars

Previous Next

Package: guix-patches;

Reported by: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Date: Wed, 24 Apr 2019 08:14:02 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 35411 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 35411 <at> debbugs.gnu.org
Subject: Re: [bug#35411] [PATCH] Add hedgewars
Date: Wed, 24 Apr 2019 13:49:09 +0200
Hello,

Ricardo Wurmus <rekado <at> elephly.net> writes:

>> +     ;; XXX: Engine is written as Pascal source code, requiring Free Pascal
>> +     ;; 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…

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’re using
> generated C files here?

It is a Haskell program, named pas2c, bundled with hedgewars. See
<https://hg.hedgewars.org/hedgewars/file/tip/tools/pas2c>. AFAIU, it
turns ".pas" files into ".c", and the build process compiles those. IOW,
it looks good enough.

Regards,

-- 
Nicolas Goaziou




This bug report was last modified 6 years and 27 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.