Build for i586

dd dd at dax.moe
Thu Jul 28 20:54:19 UTC 2022


On Thursday, 28 July 2022 at 06:01:17 UTC, Alexander Zhirov wrote:
> I'm at a dead end, please help, guys.

1. Can you try with `ldc2 --march=32bit-mode`? The march list 
(--march=help) details this as "32-bit mode (80386)".

2. Can you try with `ldc2 --march=i586 -betterC` with a simple 
BetterC program? (Like `import core.stdc.stdio; extern(C) void 
main() { puts("test");}`)

3. Otherwise, can you try checking which instruction is illegal 
under a debugger? The i686 introduced the CMOVcc instruction 
which I think both compilers emit regardless of march (Default 
target: i686-pc-linux-gnu), since I think it's the default 
baseline, but I could be wrong.


More information about the Digitalmars-d-learn mailing list