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
It would be great to see packaged support for Linux binfmt.
Using Linux binfmt, Amiga OS binaries could be directly run from a Linux shell using their name.
I managed to quickly get this running on Ubuntu 22.04 using these files:
(The path in the file obviously would have to be set correctly by make install-binfmt or whatever would be used.)
Then I ran sudo update-binfmts --import amiga-vamos and sudo service binfmt-support force-reload.
And voilà, I could run an Amiga-OS binary by making it executable chmod +x hello and then running it using ./hello.
The text was updated successfully, but these errors were encountered:
The config file will be picked up by /etc/init.d/binfmt or systemd's systemd-binfmt.service if you (re)start the service. You can also manually add it by issuing[2] the following command - this only works, if the binfmt_misc pseudo-filesystem has already been mounted. cat /etc/binfmt.d/amiga_hunk.conf >/proc/sys/fs/binfmt_misc/register
It would be great to see packaged support for Linux binfmt.
Using Linux binfmt, Amiga OS binaries could be directly run from a Linux shell using their name.
I managed to quickly get this running on Ubuntu 22.04 using these files:
File
/usr/share/binfms/amiga-vamos
:(The path in the file obviously would have to be set correctly by
make install-binfmt
or whatever would be used.)Then I ran
sudo update-binfmts --import amiga-vamos
andsudo service binfmt-support force-reload
.And voilà, I could run an Amiga-OS binary by making it executable
chmod +x hello
and then running it using./hello
.The text was updated successfully, but these errors were encountered: