In short: I have a PC based on the
Geode LX800 processor (
i586). Everything I'm trying to compile (
ldc) is all going under
i686 and when I start, Illegal instruction crashes. The problem is that I need to build a program specifically for
i586. No variations of the
-mcpu flag help. I have already tried to build compilers on the target machine - they are going, but everything they compile also gives Illegal instruction.
On github, I was offered to use
ldc-build-runtime, but I have no idea how to build with it.
Ideally, you need to build a
ldc compiler on the target machine in order to use it to compile programs for the same machine.
I have already compiled
dmd on the target machine, they compile, but everything I collect through them gives me Illegal instruction. I ask for help.