Usually, for an embedded device, one doesn't compile software directly on it. It's more comfortable to do what is called
cross-compilation which is, in short, compiling using your regular PC to another architecture than x86.
You said you're new to Linux; just for your information, you're facing a huge problem: cross-compiling to embedded devices is not an easy job.
I researched your HMI system and noticed some results that are talking about Yocto.
Yocto is, in short, a whole framework to build firmware for embedded devices.
Since your HMI massively uses Open Source projects (Linux, probably busybox, etc.) the manufacturer must provide you a way to rebuild all the open source components by yourself.
Usually, what you need to do that is the
BSP (Board Support Package).
Hardware manufacturer usually ship it:
buildroot project that allows you to rebuild your whole firmware from scratch.
yocto meta that, added to a fresh copy of the corresponding yocto project, will allow you to rebuild your whole firmware too.
- More rarely, a bunch of crappy scripts and pre-built compiler.
So, if I was you, I would:
- Contact the manufacturer support to ask for the stuff to rebuild the firmware as implied by the use of Open Source.
- In parallel, search Google for "your HMI + yocto", "your HMI + buildroot", etc.
After Googling even more, I found out a Yocto meta on github.
You can check the machines implemented by this meta upon the directory conf/machine of the meta.
There's currently five machines defined under the following codenames:
So I suggest that you dig into this. This is probably the way you can build software by yourself.
You can also check this page on the github account that may give you some more clues.