<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=us-ascii" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Lars Wirzenius wrote:
<blockquote cite="mid:1255327721.3924.15.camel@havelock" type="cite">
<pre wrap="">ma, 2009-10-12 kello 11:29 +0530, skar kirjoitti:
</pre>
<blockquote type="cite">
<pre wrap="">The question is, how do I build glibc sources with my patch using the
"debuild" command?
</pre>
</blockquote>
<pre wrap=""><!---->
This should work, if I remember correctly:
apt-get source libc6
cd glibc-whatever
debian/rules patch
... make your changes
debuild
</pre>
</blockquote>
Thanks, that indeed gets me the source tree under build-tree with all
the patches applied. However, running "debuild" rm -rf's the build-tree
and unzips it again.<br>
<br>
However, I've found a way. I added my diff file to the
debian/patches/i386/ dir and added the diff file to the
debian/patches/series file under the i386 list and now running debuild
unpacks, then applies patches including my own patch and it builds fine
:)<br>
<br>
Still, I've got 2 other problems. <br>
1) How do I make debuild use "make -j5" since I've got a quad core
machine and it's using only one cc process.<br>
2) It builds i386 libc+locales, then proceeds to build i386-686
libc+locales. Can I instead force it to build for only i386-686, which
I presume will work on any machine released within the last 3 years?<br>
<br>
Thanks once again for your response.<br>
<br>
cheers,<br>
skar.<br>
<pre class="moz-signature" cols="72">--
--
The life so short, the craft so long to learn.
</pre>
</body>
</html>