Luke, The question you have brought up is interesting... GNUstep has a system for dealing with this which basically places a script at the top level that then executes the correct binary within a given structure. Generally this is not used unless it is specifically requested when configuring gnustep-make. Please consult the documentation to check which option to use, but I believe it is something like "flattened=NO".
This would allow you to build the app for multiple platforms and put resources into one place and execute the correct binary for a given architecture/os/runtme as needed by your application within one app wrapper. I, personally, haven't tested this in a while, but I believe it works just fine. If you try it and encounter any issues let us know on github. All feedback is welcomed. Yours, GC On Wed, Apr 30, 2025 at 9:22 PM Luke Lollard via Discussion list for the GNUstep programming environment <[email protected]> wrote: > Hello, > > On Mac OS X, .apps are bundles of the binary, metadata, and a few other > pieces. To the end user, these behave similar to "portable" .exes on > Windows, where everything is self-contained, so the end user doesn't > need to compile the app or install it with an installer or a package > manager. On Linux, the closest thing is [AppImage][1]. > > I was reading GNUstep's [Deployment on Linux][2] wiki page and that made > me think that this simple method of deploying software is possible with > GNUstep. Instead of having to compile separate apps for distros > (MyApp-Fedora.app, MyApp-Debian.app, etc.), it is possible to create a > single universal .app for Linux distributions. Though not ideal, it also > looks like you could even include the GNUstep libraries in case the user > doesn't have them installed. > > Is this really the case or did I interpret that incorrectly? > > > [1]: https://appimage.org/ > [2]: https://mediawiki.gnustep.org/index.php/Deployment_on_Linux > > > -- > Luke Lollard > > > -- Gregory Casamento GNUstep Lead Developer / Black Lotus, Principal Consultant http://www.gnustep.org - http://heronsperch.blogspot.com https://www.patreon.com/bePatron?u=352392 - Become a Patron https://www.openhub.net/languages/objective_c https://www.gofundme.com/f/cacao-linux-a-gnustep-reference-implementation
