Packaging/32bit Applications: Difference between revisions
imported>Mic92 No edit summary |
imported>Mic92 No edit summary |
||
| Line 7: | Line 7: | ||
If a package 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. | ||
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. | ||