Build for i586
Alexander Zhirov
azhirov1991 at gmail.com
Thu Jul 28 06:12:49 UTC 2022
On Thursday, 28 July 2022 at 06:01:17 UTC, Alexander Zhirov wrote:
> ```sh
> /root/usr/program/gcc/9.5.0/install/bin/cc app.o -o app
> -L/root/usr/program/ldc/1.30/install/lib -lphobos2-ldc
> -ldruntime-ldc -Wl,--gc-sections -lrt -ldl -lpthread -lm -m32
> ```
Even tried with such a flag separately, it still doesn't work:
```sh
# /root/usr/program/gcc/9.5.0/install/bin/cc app.o -o app
-L/root/usr/program/ldc/1.30/install/lib -lphobos2-ldc -ldrun
time-ldc -Wl,--gc-sections -lrt -ldl -lpthread -lm -m32
-march=geode
# ./app
Illegal instruction
```
I also tried with `i586` and `pentium` - the result is the same.
More information about the Digitalmars-d-learn
mailing list