Modula2 port? GNU Modula2?

Mark E Anderson mark at macports.org
Fri Jul 18 19:59:33 UTC 2025


We could probably add that as a gcc variant, too, if that's all it takes.

—Mark

On Fri, Jul 18, 2025, at 12:08 PM, Dave Allured - NOAA Affiliate via macports-users wrote:
> Ken, you can get GNU Modula2 as an added component of the GCC port.  This is supported since GCC 13.1.  Add this simple patch to your local GCC portfile, then do a local rebuild of GCC.  MacPorts does not currently host a pre-built version.
> 
> -set gcc_configure_langs {c c++ objc obj-c++ lto fortran}
> +set gcc_configure_langs {c c++ objc obj-c++ lto fortran m2}
> 
> This built and tested fine for me.  The compiler run command is *gm2*.  There is on-line documentation on the GCC website.
> 
> 
> On Thu, Jun 12, 2025 at 1:41 PM Kenneth Wolcott <kennethwolcott at gmail.com> wrote:
>> I'd sure like to have a Modula2 port.
>> 
>> I see that Modula3 seems very dead...
>> 
>> Thanks,
>> Ken Wolcott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20250718/902d0039/attachment.htm>


More information about the macports-users mailing list