[Top][All Lists]

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

Re: Mc [Was: Re: Where is p2c called?]

From: Gaius Mulley
Subject: Re: Mc [Was: Re: Where is p2c called?]
Date: Thu, 01 Jul 2021 23:08:00 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

john o goyo <> writes:

> Greetings, Gaius.
> On 2021-06-29 10:30, john o goyo wrote (in part):
>> On 2021-06-28 07:24, Gaius Mulley wrote (in part):
>>> The file gcc/[g]m2/ contains the rules to build gm2.  In
>>> the rules to build gm2-libs-boot/%.o  or gm2-compiler-boot/%.o
>>> you'll find either the p2c commands or the mc commands depending upon
>>> the release of gm2.
>> Ah -- looking at gcc/m2/, I saw that "gmake mc-help" in
>> the gcc Makefile gave me the targets and "gmake -n mc-continue" gave
>> me the dependencies needed.

Hi John,

> Based on the above, I wrote a simple Makefile to compile mc and will now
> try using it.

sounds useful!

> (I am going down this route because gcc will not be
> supported on the M1 until at least version 12.0.)

you might be in luck with gcc-12 - it is clearly in development - but I
find it pretty stable (of course it might get very unstable) and another
caveat I'm on a x86_64 gnu/linux system most of the time.  I'm currently
building it slowly on a risc-v 64 bit machine and an older aarch64
debian stretch machine.

> Why are the generated C files prepended by 'G'?

to avoid name C header filename clashes - for example system.h (and a few

How does the m1 perform?


reply via email to

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