Ring2EXE Plus - A Fork with Advanced Packaging

85 views
Skip to first unread message

Youssef Saeed

unread,
Dec 6, 2025, 5:10:15 PMDec 6
to The Ring Programming Language
Hello everyone,

I'd like to introduce Ring2EXE Plus, a fork of the standard ring2exe tool. This fork builds on Mahmoud Fayed's original work by adding modern packaging options and more compiler control.

Key New Features:
  • Generate Native Packages: Easily create .deb, .rpm, and AppImage packages for Linux, .app bundles for macOS, and .pkg packages for FreeBSD using the -dist flag.
  • Custom C Compiler: Specify which C compiler to use (e.g., clang, tcc) with the -cc=<compiler> flag.
  • Custom Compiler Flags: Pass your own flags to the C compiler with -cflags="...".
  • Custom Output Name: Set the final executable name with the -output=<name> flag.
  • FreeBSD Support: Full support for building and distributing on FreeBSD.
More features are planned for future releases!

Installation:

You can install ring2exe-plus via RingPM:

ringpm install ring2exe-plus from ysdragon

Examples:
  • Create a RPM package:
    ring2exe myapp.ring -dist -rpm
  • Use Clang and name the output file: 
    ring2exe myapp.ring -cc=clang -output=MyCoolApp
The goal is to make distributing Ring applications easier and more flexible.

Your feedback and suggestions are highly welcome.

Best regards,
Youssef

Mahmoud Fayed

unread,
Dec 6, 2025, 5:25:26 PMDec 6
to The Ring Programming Language
Hello Youssef

Thank you very much for this wonderful tool and the new features

Added to Ring Website - News Section
ringnews.png

Also, added to Ring Website - Resources Page

ringresources.png

Keep up the GREAT WORK :D

Greetings,
Mahmoud

Ka mara

unread,
Dec 6, 2025, 5:25:38 PMDec 6
to Youssef Saeed, The Ring Programming Language

Hallo Youssef,

The ideas you mention are straight to the point & very much appreciated.

Thanks for your contribution.

Tim


--

---
You received this message because you are subscribed to the Google Groups "The Ring Programming Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ring-lang+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ring-lang/346ba790-a930-4c06-adbc-0ad379ffd741n%40googlegroups.com.

Youssef Saeed

unread,
Dec 6, 2025, 6:50:05 PMDec 6
to The Ring Programming Language
Hello Mahmoud,

Thank you for your kind words and for adding the tool to the Ring Website!

Best regards,
Youssef

Youssef Saeed

unread,
Dec 6, 2025, 6:50:30 PMDec 6
to The Ring Programming Language
Hello Tim,

Thank you for your kind words!

Best regards,
Youssef

Mahmoud Fayed

unread,
Dec 6, 2025, 6:54:27 PMDec 6
to The Ring Programming Language
Hello Youssef

You are welcome :D

Greetings,
Mahmoud

Mansour Ayouni

unread,
Dec 19, 2025, 10:14:36 AM (9 days ago) Dec 19
to Mahmoud Fayed, The Ring Programming Language
Hello Mahmoud and Youssef,

Is Ring2EXE Plus a compliment or a replacement to the standard Ring2EXE?

In what they differe and what's the value proposition of this new Youssef's tool?

In what it differes from Mounir's MonoRing solution?

Best,
Mandour

--

---
You received this message because you are subscribed to the Google Groups "The Ring Programming Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ring-lang+...@googlegroups.com.

Mahmoud Fayed

unread,
Dec 19, 2025, 12:11:02 PM (9 days ago) Dec 19
to The Ring Programming Language
Hello Mansour

You could consider it (Ring2EXE) future :D

Youssef could tell you more about his vision for the development & the most interesting features 

Greetings,
Mahmoud

Mansour Ayouni

unread,
Dec 19, 2025, 12:20:03 PM (9 days ago) Dec 19
to Mahmoud Fayed, The Ring Programming Language
Hello Mahmoud,

Thank you for your useful hint ;)
Waiting for Youssef answer...

Best,
Mansour

Mahmoud Fayed

unread,
Dec 19, 2025, 12:46:37 PM (9 days ago) Dec 19
to The Ring Programming Language
Hello Mansour

You are welcome :D

Greetings,
Mahmoud

Youssef Saeed

unread,
Dec 19, 2025, 2:51:43 PM (9 days ago) Dec 19
to The Ring Programming Language
Hello Mansour,

Thank you for your questions! And thanks to Mahmoud for the kind words regarding the project's future.


> Is Ring2EXE Plus a compliment or a replacement to the standard Ring2EXE?

Currently it acts as an advanced fork, but as Mahmoud hinted, the vision is for this to eventually become the standard replacement. It builds directly on the original foundation but modernizes the workflow significantly.


> In what they differe and what's the value proposition of this new Youssef's tool?

The standard tool focuses on compilation (Source -> Executable). Ring2EXE Plus focuses on Distribution (Source -> Product).

Key differences:

1. Packaging: It doesn't just give you an `.exe`. It now supports generating native installers: Flatpak, Snap, AppImage, DEB, and RPM for Linux; MSI, NSIS, and Inno Setup for Windows; DMG and App Bundles for macOS; and PKG for FreeBSD.

2. Flexibility: You are no longer locked into the default compiler logic. You can explicitly choose which C compiler to use (GCC, Clang, TCC, MSVC) and pass your own custom flags, giving you full control over the build process.

3. Automation: It introduces `ring2exe.conf` so you can save project settings (version, icon, license) instead of typing long commands, and adds `-auto-libs` to automatically detect which libraries your code uses (Which could be improved in the future).

4. Optimization: It has built-in support for UPX compression and build presets (like `-release` vs `-size`). In my tests with PWCT2, the compression reduced the executable size from 12MB down to 1.2MB.


> In what it differes from Mounir's MonoRing solution?

MonoRing is an excellent solution for Static Linking (creating a single, portable file that runs anywhere without dependencies).

Ring2EXE Plus focuses on Native Integration. If you want your application to be installed properly on the system (like into `/usr/bin` or `/usr/local/bin`), show up in the OS start menu, or be distributed via system package managers, this is the tool for that scope.

Best regards,
Youssef

Mansour Ayouni

unread,
Dec 19, 2025, 5:51:28 PM (9 days ago) Dec 19
to Youssef Saeed, The Ring Programming Language
Hello Youssef,

A lot of advantages that become clear now ! Thank you very much.
When you have time, please add these details to the readme file on the github repo.

All the best,
Mansour

Youssef Saeed

unread,
Dec 19, 2025, 6:33:22 PM (9 days ago) Dec 19
to The Ring Programming Language
Hello Mansour,


> When you have time, please add these details to the readme file on the github repo.

Thank you for your suggestion!

Best regards,
Youssef
Reply all
Reply to author
Forward
0 new messages