Bug#704577: pbuilder: please update manual for use alternative compilers

Junichi Uekawa dancer at netfort.gr.jp
Thu Apr 4 22:13:05 UTC 2013



At Wed, 3 Apr 2013 15:06:06 +0900,
Hideki Yamane wrote:
> 
> >From 3707d379f73cf6a86c5418e8e64e5a67010fec7c Mon Sep 17 00:00:00 2001
> From: Hideki Yamane <henrich at debian.org>
> Date: Wed, 3 Apr 2013 15:02:59 +0900
> Subject: [PATCH] mention hook script instead of pentium-builder
> 
> ---
>  Documentation/pbuilder-doc.xml |   24 +++---------------------
>  1 file changed, 3 insertions(+), 21 deletions(-)
> 
> diff --git a/Documentation/pbuilder-doc.xml b/Documentation/pbuilder-doc.xml
> index 8d4073b..d958ca3 100644
> --- a/Documentation/pbuilder-doc.xml
> +++ b/Documentation/pbuilder-doc.xml
> @@ -469,27 +469,9 @@
>        <para>
>  	Most packages are compiled with <command>gcc</command>
>  	or <command>g++</command>
> -	and using the default compiler version, which was gcc 2.95 for Debian GNU/Linux 3.0 (i386).
> -	However, Debian 3.0 was distributed with other compilers, under package names
> -        such as <command>gcc-3.2</command> for gcc compiler
> -	version 3.2.
> -	It was therefore possible to try compiling packages against different
> -	compiler versions.
> -	<command>pentium-builder</command> provides an infrastructure for
> -	using a different compiler for building packages than the default gcc, by
> -	providing a wrapper script called gcc which calls the real gcc.
> -	To use <command>pentium-builder</command> in <command>pbuilder</command>, it is possible to set up the
> -	following in the configuration:
> -	<screen>
> -EXTRAPACKAGES="pentium-builder gcc-3.2 g++-3.2"
> -export DEBIAN_BUILDARCH=athlon
> -export DEBIAN_BUILDGCCVER=3.2</screen>
> -      </para>
> -      <para>
> -	It will instruct <command>pbuilder</command> to install the <command>pentium-builder</command> package
> -	and also the GCC 3.2 compiler packages inside the chroot,
> -	and set the environment variables required for
> -	<command>pentium-builder</command> to function.
> +	and using the default compiler version which was gcc 4.7 for Debian GNU/Linux 7.0 (amd64),
> +	but you can try compiling packages against different compilers (like clang) 
> +	by using <filename>D65various-compiler-support</filename> in hook directory.


I think it would be good to have examples of what the configuration would be.

>        </para>
>      </sect1>
>    </chapter>
> -- 
> 1.7.10.4
> 



More information about the Pbuilder-maint mailing list