unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: 35411@debbugs.gnu.org
Subject: [bug#35411] [PATCH] Add hedgewars
Date: Wed, 24 Apr 2019 13:49:09 +0200	[thread overview]
Message-ID: <87sgu7r5ca.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87mukf65wr.fsf@elephly.net> (Ricardo Wurmus's message of "Wed, 24 Apr 2019 12:42:28 +0200")

Hello,

Ricardo Wurmus <rekado@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

  reply	other threads:[~2019-04-24 11:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-24  7:59 [bug#35411] [PATCH] Add hedgewars Nicolas Goaziou
2019-04-24 10:42 ` Ricardo Wurmus
2019-04-24 11:49   ` Nicolas Goaziou [this message]
2019-04-24 15:20     ` Ricardo Wurmus
2019-04-24 16:57       ` Nicolas Goaziou
2019-04-29 12:45 ` bug#35411: " Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sgu7r5ca.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=35411@debbugs.gnu.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).