AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20070706135712.603fd048@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<larry.scheer@onstor.com>,<tim.gardner@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/andys@onstor.net@onstor-exch02.onstor.net/INBOX	0	BB375AF679D4A34E9CA8DFA650E2B04E042EFF76@onstor-exch02.onstor.net
X-Sylpheed-End-Special-Headers: 1
Date: Fri, 6 Jul 2007 13:57:29 -0700
From: Andrew Sharp <andy.sharp@onstor.com>
To: "Larry Scheer" <larry.scheer@onstor.com>
Cc: "Tim Gardner" <tim.gardner@onstor.com>
Subject: Re: Request for build information
Message-ID: <20070706135729.229dfa4c@ripper.onstor.net>
In-Reply-To: <BB375AF679D4A34E9CA8DFA650E2B04E042EFF76@onstor-exch02.onstor.net>
References: <BB375AF679D4A34E9CA8DFA650E2B04E022158B2@onstor-exch02.onstor.net>
	<20070706030201.GA21720@scowler.net>
	<BB375AF679D4A34E9CA8DFA650E2B04E042EFF76@onstor-exch02.onstor.net>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Jeezus, Larry, you bothered these people for that?  2 minutes with the
man page for dpkg-buildpackage nets this command:

$  dpkg-buildpackage -us -uc -nc -amipsel -B -rfakeroot

which i tried and it builds all these nifty packages

../libc6-dbg_2.3.6.ds1-13_mipsel.deb   ../libc6_2.3.6.ds1-13_mipsel.deb
../libc6-dev_2.3.6.ds1-13_mipsel.deb   ../locales-all_2.3.6.ds1-13_mipsel.deb
../libc6-pic_2.3.6.ds1-13_mipsel.deb   ../nscd_2.3.6.ds1-13_mipsel.deb
../libc6-prof_2.3.6.ds1-13_mipsel.deb

It even figures out how many processor cores you have and uses them all.


On Fri, 6 Jul 2007 10:05:25 -0700 "Larry Scheer"
<larry.scheer@onstor.com> wrote:

> I got an answer from the debian glibc development group.
> 
> 
> -----Original Message-----
> From: Clint Adams [mailto:schizo@debian.org]
> Sent: Thu 7/5/2007 8:02 PM
> To: Larry Scheer
> Cc: debian-glibc@lists.debian.org
> Subject: Re: Request for build information
>  
> On Thu, Jul 05, 2007 at 04:47:13PM -0700, Larry Scheer wrote:
> > What were the steps and tools that were used to compile and build
> > the glibc packages for the mipsel arch? I am primarily interested
> > in how the Debian patches were applied, the source code compiled,
> > and the libraries built.
> 
> The glibc source package is transferred to a bonafide mipsel machine,
> on which the equivalent of the following line is run:
> dpkg-buildpackage -rfakeroot -B
> 
> (You'll need to install the dpkg-dev and build-essential packages to
>  accomplish this).
> 
> Since you want to cross-compile, you may want to install the
> dpkg-cross package and use that.  If it happens that the source
> package is not clean for a cross build that way, give a shout so we
> can fix it.
> 
> 
> 
