Build for i586 #14339
AlexanderZhirov
started this conversation in
General
Build for i586
#14339
Replies: 1 comment 1 reply
-
The dmd backend has historically supported even older targets, but as far as I can see the frontend currently does not have a way to configure it: Lines 30 to 47 in 043caf1 So, in theory it should be possible, but it's unknown at the moment how much effort is involved. If you do have another development machine, I would suggest developing there and then using LDC to cross-compile to i586 for deployment. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I managed to build
ldc2
with libraries for thei586
architecture. Is it possible to build libraries forDMD
for thei586
architecture? I manage to buildDMD
fori586
, but the libraries are built fori686
(runtime
andphobos
).What tool can I use to rebuild libraries to specify
i586
? I tried addingDFLAGS
-mcpu=native
andCFLAGS
-march=i586
to theposix.mak
source code when buildingDMD
on ani586
PC, but this did not work during assembly.Beta Was this translation helpful? Give feedback.
All reactions