[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to cross architecture build a package

On Sun, Nov 25, 2007 at 07:15:29AM +1100, Alex Samad wrote:
On Sat, Nov 24, 2007 at 01:17:52AM +0100, Pierre Habouzit wrote:
  and when you build a package in there, wrap the
debuild/dpkg-buildpackage/... call inside linux32.
why do i need linux32, I have build my package and used schroot. all seems to be well. note I am not doing any compiling !

If you use schroot, it takes care of setting up the Linux personality for you, just as linux32 does, so you don't need both. If your uname(2) call returns i[3456]86, then your system will be treated as i386, and i386 packages will be built. If it returns x86-64, then it will be treated as amd64. Linux personality support allows modifying the uname(2) call, so packages will be compiled and built properly.

brian m. carlson / brian with sandals: Houston, Texas, US
+1 713 440 7475 | http://crustytoothpaste.ath.cx/~bmc | My opinion only
a typesetting engine: http://crustytoothpaste.ath.cx/~bmc/code/thwack
OpenPGP: RSA v4 4096b 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187

Attachment: signature.asc
Description: Digital signature

Reply to: