Hello, I'm trying to build code for 32-bits x86 (because I have to link it against 32-bits code) on an x86_64 build machine. But it looks like x86 target libraries are not build, even with --enable-multilib. Is there a way to build x86 target libraries ?
I found this post on the mailing list: https://mail.gna.org/public/ghdl-discuss/2005-12/msg00002.html, but the suggested solution (copying libraries from an x86 machine) doesn't work. In fact it looks like a recent version of GHDL (I'm working with 0.31) doesn't even recognizes options such as -m32, -Wc or -Wa. Is this still up-to-date ? As a workaround, I tried building an x86 version of GHDL using --target=i386-linux-gnu, but I got assembly errors in vhdl/grt/config/i386.S, which shows it's 32 bits code compiled as 64 code. This sounds like a bug in the build system. Is this file intended to be built for the target, in which case it should be build using the target compiler, or for the host, in which case it should be 64 bits assemly... Thanks, Leo
_______________________________________________ Ghdl-discuss mailing list [email protected] https://mail.gna.org/listinfo/ghdl-discuss
