Compile a debian package for amd64 on a i386 machine?

Posted by Rory McCann on Server Fault See other posts from Server Fault or by Rory McCann
Published on 2010-05-08T22:59:30Z Indexed on 2010/05/08 23:08 UTC
Read the original article Hit count: 333

Filed under:
|
|
|
|

I have a i386 ubuntu hardy machine, and an amd64 ubuntu hardy machine. I want to compile a debian package (a.k.a. deb) for the amd64 machine on the i386 (because I don't have enough memory to compile is quickly on the amd64 machine). If I do a dpkg-buildpackage on the i386 machine, it produces a deb for i386, which can't be installed on the amd64 machine. Is there anyway to compile the deb for amd64 on the i386 machine?

© Server Fault or respective owner

Related posts about debian

Related posts about ubuntu