Diff for /wikisrc/tutorials/pkgsrc/cross_compile_distcc.mdwn between versions 1.3 and 1.4

version 1.3, 2012/02/22 20:42:14 version 1.4, 2012/02/22 21:36:40
Line 13  tutorial, we will focus on how to use a  Line 13  tutorial, we will focus on how to use a 
 platform.  platform.
   
 First things first, your GNU/Linux machine must have the following packages  First things first, your GNU/Linux machine must have the following packages
 installed:  installed
   
 * gcc  * gcc
 * g++  * g++
Line 23  installed: Line 23  installed:
 ### Building the cross-compiling chain  ### Building the cross-compiling chain
   
 Once done, download NetBSD's source tree. For example, if your target is a  Once done, download NetBSD's source tree. For example, if your target is a
 NetBSD 5.1.2 system:  NetBSD 5.1.2 system
   
         # pwd          # pwd
         /home/netbsd          /home/netbsd
         # cvs -d anoncvs@anoncvs.fr.netbsd.org:/cvsroot co -rnetbsd-5-1-2-RELEASE src          # cvs -d anoncvs@anoncvs.fr.netbsd.org:/cvsroot co -rnetbsd-5-1-2-RELEASE src
   
 We will then use the *build.sh* script in order to build the tools needed  We will then use the *build.sh* script in order to build the tools needed
 for cross-compiling:  for cross-compiling
   
         # cd src          # cd src
         # ./build.sh -m amd64 tools          # ./build.sh -m amd64 tools
Line 77  On a NetBSD machine located in *distcc*' Line 77  On a NetBSD machine located in *distcc*'
   
 And fire up the *make* command in a *pkgsrc* subdirectory containing a C-based  And fire up the *make* command in a *pkgsrc* subdirectory containing a C-based
 package. You should see something like this in helper's */var/log/distccd.log*  package. You should see something like this in helper's */var/log/distccd.log*
 file.  file
   
         distccd[20634] (dcc_job_summary) client: 192.168.0.2:64006 COMPILE_OK exit:0 sig:0 core:0 ret:0 time:57ms gcc /usr/pkgsrc/misc/tmux/work/.ccache-cache/tmp/unvis.tmp.bulkor.18298.i          distccd[20634] (dcc_job_summary) client: 192.168.0.2:64006 COMPILE_OK exit:0 sig:0 core:0 ret:0 time:57ms gcc /usr/pkgsrc/misc/tmux/work/.ccache-cache/tmp/unvis.tmp.bulkor.18298.i
         distccd[20734] (dcc_job_summary) client: 192.168.0.2:64005 COMPILE_OK exit:0 sig:0 core:0 ret:0 time:172ms gcc /usr/pkgsrc/misc/tmux/work/.ccache-cache/tmp/imsg-buffe.tmp.bulkor.20945.i          distccd[20734] (dcc_job_summary) client: 192.168.0.2:64005 COMPILE_OK exit:0 sig:0 core:0 ret:0 time:172ms gcc /usr/pkgsrc/misc/tmux/work/.ccache-cache/tmp/imsg-buffe.tmp.bulkor.20945.i

Removed from v.1.3  
changed lines
  Added in v.1.4


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb