Modula2 port? GNU Modula2?

Dave Allured - NOAA Affiliate dave.allured at noaa.gov
Fri Jul 18 16:08:25 UTC 2025


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/aa0eeb4f/attachment.htm>


More information about the macports-users mailing list