You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've already implemented this in shell and Go as a runtime to which you attach various files + the uname -om for which they're for
But I'm thinking, is there any way to use APE for this?
Let's say I had compiled toybox (a busybox alternative that is correctly licensed) for OpenBSD, NetBSD and Linux (all amd64). Can I somehow embed all of those files into a single file that self-extracts the platform-specific one and runs correctly?
Is there a readily available way to do this? I want to generate these multi-arch binaries using the Cosmopolitan tooling.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, just an idea I had.
I've already implemented this in shell and Go as a runtime to which you attach various files + the uname -om for which they're for
But I'm thinking, is there any way to use APE for this?
Let's say I had compiled toybox (a busybox alternative that is correctly licensed) for OpenBSD, NetBSD and Linux (all amd64). Can I somehow embed all of those files into a single file that self-extracts the platform-specific one and runs correctly?
Is there a readily available way to do this? I want to generate these multi-arch binaries using the Cosmopolitan tooling.
Beta Was this translation helpful? Give feedback.
All reactions