Thread overview
Build for i586
July 28

Colleagues, I ask you to help in finding a solution. More details here and here.

In short: I have a PC based on the Geode LX800 processor (i586). Everything I'm trying to compile (dmd/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 ldc and dmd on the target machine, they compile, but everything I collect through them gives me Illegal instruction. I ask for help.

July 29

On Thursday, 28 July 2022 at 12:40:50 UTC, Alexander Zhirov wrote:

>

Colleagues, I ask you to help in finding a solution. More details here and here.

[...]

Which instruction?

July 29

On Thursday, 28 July 2022 at 12:40:50 UTC, Alexander Zhirov wrote:

>

Colleagues, I ask you to help in finding a solution. More details here and here.

SOLVED