- My intent is to share the recipe of what I do, I do not intend to publish a ready made container to a container registry.
- It should run on any unix/linux-ish system on intel/amd-ish CPU, especially running graphical and audio application from the container requires an X11 socket and /dev/snd device. No promise on any other family of CPU (ARM,...) or other OSes (Apple, or even worse, Windows...). That's also a supplemental reason why I share the recipe instead of a ready made container.
My goal was to use the binaries made by @thorsten.otto and available on his site there : https://tho-otto.de/crossmint.php
Then, I also wanted to provide hatari for allowing testing without a separate installation.
Finally, I wanted
- to use cmake, meaning finding how to setup cross building
- provide a LSP for supporting text editors/IDE (my choice is Pulsar editor, and I consider to include neovim later because textual interface only), with the potential to navigate through C/C++ code, able to jump to standard headers (that last part has to be tested and refined)
My results so far with a little video (no sound), demonstrating the sample hello world program build using cmake, then testing it on hatari :
