Selon Thomas Sailer <[EMAIL PROTECTED]>:

> Hi Tristan,
>
> a standard gcc build (i.e. without --disable-multilib) on x86_64
> produces a gcc that can compile code both for 64bit (gcc ...) and for
> 32bit (gcc -m32 ...) binaries. So I tried to do the same.
>
> The result is that it "almost works". If I add the following flags to
> the ghdl command line "-Wc,-m32 -Wa,--32", I can analyze to 32bit object
> files. Elaboration though, fails, because libgrt.a is only available in
> a 64bit version, the std.* and ieee.* libraries are only available in
> 64bit versions, and because the ghdl driver adds paths to the 64bit
> library objects.
>
> The 32bit *.o files work, btw., I copied them to an i386 machine and did
> the elaboration there, and the resulting binaries worked.
>
> What do you think about actually support multilib builds on x86_64?
I am not against it.  However, I don't own an x86_64, so I won't do it now.
If you want to try, do not hesitate!
If you (or anybody else) has a patch for this, I will add it; and if you need
help on this topic I can help.

Tristan.

Reply via email to