Update of /cvsroot/leaf/doc/guide/devel-bering-uclibc In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv13720
Modified Files: bucd-buildtool.xml Log Message: added note on building previous releases Index: bucd-buildtool.xml =================================================================== RCS file: /cvsroot/leaf/doc/guide/devel-bering-uclibc/bucd-buildtool.xml,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** bucd-buildtool.xml 13 May 2006 18:05:35 -0000 1.15 --- bucd-buildtool.xml 14 May 2006 19:05:00 -0000 1.16 *************** *** 63,83 **** <section> <title>Installation</title> - <section> - <title>Tarball</title> - <para>Because work on Bering uClibc 3.0 has begun, and because buildtool - is currently not able to cope with building anything else than the current - development version, the Bering uClibc team has created a snapshot of the - buildtool environment for building sources for Bering uClibc 2.4. This tarball - will be updated whenever updates for Bering uClibc 2.4 are released. - </para> - <para>This tarball contains all the sources required to build sources for Bering uClibc. - If you don't want to track development on Bering uClibc but want to compile sources - or packages for Bering uClibc 2.4 instead, simply download the tarball from the - <ulink url="http://sourceforge.net/project/showfiles.php?group_id=13751&package_id=67534"> - the Sourceforge File Releases area</ulink>, extract it and skip the next section - about checking out buildtool from CVS (everything else in this guide applies to - the tarball version, unless noted otherwise). - </para> - </section> <section> --- 63,66 ---- *************** *** 94,108 **** with: <programlisting>cvs -z3 -d :pserver:[EMAIL PROTECTED]:/cvsroot/leaf \ co src/bering-uclibc/buildtool</programlisting></para> - </section> ! <section> ! <title>Perl</title> ! <para>Buildtool requires Perl 5.6 (or newer). Additionally, you need the ! Perl package <filename>Config::General</filename>. This can either be ! installed the "traditional" way (download it from CPAN, untar, perl ! Makefile.PL, make, make test and (as root) make install), or by running ! (as root) <userinput>perl -MCPAN -e 'install ! Config::General'</userinput></para> </section> --- 77,126 ---- with: <programlisting>cvs -z3 -d :pserver:[EMAIL PROTECTED]:/cvsroot/leaf \ co src/bering-uclibc/buildtool</programlisting></para> ! <section> ! <title>Checking out an older version to build</title> ! <para>If you want to use buildtool for compiling sources for an older ! Bering-uClibc release, you need to check out buildtool and the ! relevant sources using a release-name or a date, and adjust the ! buildtool configuration to no longer use cvs to fetch the ! sources</para> ! ! <para>For example, if you want to check out the buildtool setup and ! sources that were used to build Bering uclibc 2.4.1, use these ! commands: <programlisting>mkdir /PATH/TO/WORKAREA ! cd /PATH/TO/WORKAREA ! cvs -z3 -d :pserver:[EMAIL PROTECTED]:/cvsroot/leaf \ ! co -r Release-2_4_1 src/bering-uclibc</programlisting> or (if you have a ! sourceforge developer account)<programlisting>export CVS_RSH=ssh ! mkdir /PATH/TO/WORKAREA ! cd /PATH/TO/WORKAREA ! cvs -z3 -d:ext:[EMAIL PROTECTED]:/cvsroot/leaf \ ! co -r Release-2_4_1 src/bering-uclibc</programlisting></para> ! ! <para>After the checkout is complete, adjust the server definitions in ! <filename>/PATH/TO/WORKAREA/buildtool/conf/sources.cfg</filename> to ! no longer use CVS for downloading the sources. For ! example:<programlisting><Server cvs-sourceforge> ! Type = file ! Serverpath = /PATH/TO/WORKAREA/src/bering-uclibc/apps ! </Server> ! ! <Server cvs-contrib-sourceforge> ! Type = file ! Serverpath = /PATH/TO/WORKAREA/src/bering-uclibc/contrib ! </Server></programlisting></para> ! </section> ! ! <section> ! <title>Perl</title> ! ! <para>Buildtool requires Perl 5.6 (or newer). Additionally, you need ! the Perl package <filename>Config::General</filename>. This can either ! be installed the "traditional" way (download it from CPAN, untar, perl ! Makefile.PL, make, make test and (as root) make install), or by ! running (as root) <userinput>perl -MCPAN -e 'install ! Config::General'</userinput></para> ! </section> </section> *************** *** 112,116 **** <para>Edit the file <filename>conf/buildtool.conf</filename> (using your favourite text editor). It should look similar to this: <programlisting># version number - # $Id$ Version = 0.6 --- 130,133 ---- *************** *** 1200,1209 **** <listitem> ! <para>host compiler to use to compile the first stage of the ! toolchain. If your default host gcc is version 4.x, you'll need to ! adjust that setting. See below for more info.</para> </listitem> </varlistentry> - </variablelist></para> </section> --- 1217,1225 ---- <listitem> ! <para>host compiler to use to compile the first stage of the ! toolchain. If your default host gcc is version 4.x, you'll ! need to adjust that setting. See below for more info.</para> </listitem> </varlistentry> </variablelist></para> </section> *************** *** 1364,1377 **** <para>You need to install an additional compiler, normally you should ! be able to install gcc3.3 or gcc3.4 (at least for ubuntu and debian testing, ! this is true). After installing, edit make/MasterInclude.mk and set ! HOSTCC to your newly installed compiler:</para> <programlisting>HOSTCC=gcc-3.3</programlisting> ! <para>Adjust the line above to match whatever compiler actually comes with the ! package you installed (it might be called gcc33 or gcc-3.4 too, for example).</para> </section> </section> </section> ! </chapter> --- 1380,1394 ---- <para>You need to install an additional compiler, normally you should ! be able to install gcc3.3 or gcc3.4 (at least for ubuntu and debian ! testing, this is true). After installing, edit make/MasterInclude.mk ! and set HOSTCC to your newly installed compiler:</para> <programlisting>HOSTCC=gcc-3.3</programlisting> ! <para>Adjust the line above to match whatever compiler actually comes ! with the package you installed (it might be called gcc33 or gcc-3.4 ! too, for example).</para> </section> </section> </section> ! </chapter> \ No newline at end of file _______________________________________________ leaf-cvs-commits mailing list leaf-cvs-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits