Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   How to create several binaries (and compile ) one after the other (http://www.linux-archive.org/debian-user/68682-how-create-several-binaries-compile-one-after-other.html)

"Jabka Atu" 04-12-2008 03:17 PM

How to create several binaries (and compile ) one after the other
 
Hello,..

I would like to create several Debian package when the only change is the compile type (i386 amd64 ppc etc..).
How can it be done ?

since when create the package it creates only amd64 (this is set in the rules file).


Thank you in advance.

NN_il_Confusionario 04-12-2008 07:03 PM

How to create several binaries (and compile ) one after the other
 
On Sat, Apr 12, 2008 at 06:17:30PM +0300, Jabka Atu wrote:
> I would like to create several Debian package when the only change is the
> compile type (i386 amd64 ppc etc..).

debian developers do this, starting with the same source package. When
the source is compiled on i386, it produces a i386 package, when it is
compiled on a ppc it gives a ppc package and so on (unless it produces a
_all.deb package which is architetcure independedent). In absence of
different (real or virtual) machines one needs a cross-compiler. Some
general references:

http://www.debian.org/doc/manuals/developers-reference/ch-best-pkging-practices.en.html
http://www.debian.org/doc/manuals/developers-reference/ap-tools.en.html

--
Chi usa software non libero avvelena anche te. Digli di smettere.
Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale.
Informatica=bomba: intelligente solo per gli stupidi che ci credono.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


All times are GMT. The time now is 11:52 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.