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

Re: how to cross architecture build a package

On Sat, Nov 24, 2007 at 10:59:32PM +0000, brian m. carlson wrote:
> 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.

I find it rather strange that you need a working environment to be able to 
build packages for that environment.

Thing is I am only making meta packages but I am building it on a amd64 for a 
i386 environment.


> -- 
> 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: