Packaging/32bit Applications: Difference between revisions

imported>Mic92
No edit summary
imported>Mic92
No edit summary
Line 6: Line 6:
== Building multilib software ==
== Building multilib software ==


If a packages wants to compile both 32/64-bit executable, you need a compiler with multilib support.
If a package wants to compile both 32/64-bit executable, you need a compiler with multilib support.
In nixpkgs provides <code>multiStdenv.mkDerivation</code> that should be used instead <code>stdenv.mkDerivation</code>.
In nixpkgs provides <code>multiStdenv.mkDerivation</code> that should be used instead <code>stdenv.mkDerivation</code>.
This is equivalent to using <code>gcc-multilib</code> in debian derivatives.
This is equivalent to using <code>gcc-multilib</code> in debian derivatives.