⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 install

📁 distcc编译器的源代码.好像是readhat公司开发的.
💻
字号:
Installation instructions for distcc                  -*- indented-text -*-distcc is free software; you can redistribute it and/or modify itunder the terms of the GNU General Public License as published by theFree Software Foundation; either version 2 of the License, or (at youroption) any later version. distcc comes with ABSOLUTELY NO WARRANTY,for details see the licence.If you find distcc useful, please consider donating to the SambaFoundation to help cover our costs in publishing freesoftware. (Please mention distcc in your donation.)Please report any problems to distcc@lists.samba.org.Prerequisites-------------To build distcc you need   GNU Make   A C compilerYou can optionally have   libpopt     If this is not found on your system, it will be statically linked in.   Python >=2.0     To run the test suite with "make maintainer-check" or the     benchmark.   linuxdoc SGML tools     To rebuild the documentation from its SGML source.   autoconf >=2.5     To rebuild the configure scripts if you edit configure.ac.To build the optional GNOME monitor (--with-gnome), you need theGNOME2 development libraries, and in particular  gtk+ >=2.0  libgnome >=2.0  libgnomeui >= 2.0  libglade >= 2.0  libpangoThe monitor can also be built without GNOME desktop integration(--with-gtk), in which case you need only  gtk+ >=2.0  libglade >= 2.0Preliminaries-------------distcc can be installed and used without requiring root access.Adjust directories appropriately when installing.Compiling distcc----------------Compilation follows the standard GNU pattern:  $ ./configure --help  $ ./configure  $ make  # make installNote that the default GNU "sysconfdir" is /usr/local/etc.  You maywant to change this to /etc.  $ ./configure --sysconfdir=/etcYou can set an installation prefix if you want to put distcc in /opt:  $ ./configure --prefix=/opt/distcc/distcc needs to be installed on all client and server machines.If you would like a graphical client-side monitor to show runningjobs, you can choose either --with-gnome or --with-gtk.If you would like to try running distcc over IPv6, use--enable-rfc2553.  You must have a reasonably recent operating systemor this is likely to fail in complex ways.Starting the daemon-------------------This stage is only required if you want to run distcc over TCPsockets, rather than SSH connections.  TCP is faster but less secureand should only be used on trusted networks.In TCP mode distccd can run either from inetd or as a standalonedaemon.  Running standalone is recommended.To run standalone, run a command like this, either from the commandline or from the system startup scripts.  distccd --daemonIf the daemon is started from an rc script, then make sure that itsees a PATH setting which can find any compilers installed innonstandard directories.You should create a "distcc" account on server machines so that distcccan run with minimal privilege.  It is not necessary for this accountto own any files or have a home directory.  If this account doesn'texist, distccd uses the "nobody" account.By default distccd writes messages to the "daemon" syslog, whichtypically ends up in /var/log/messages or /var/log/daemon.You can set IP-based access control using the --allow and --listenoptions, in either inetd or daemon mode:  distccd --allow 10.4.20.0/24distccd does not need to run on machines that will only act asclients.See the manual for more information.Set up the host list--------------------On the client machines, store a list of servers names in~/.distcc/hosts.  If you're using TCP connections, it should look likethis:  localhost red green blueFor SSH connections  localhost @red @green @blueThe hosts should be listed in descending order of speed.  localhostshould normally be first, unless it is signficantly slower thananother machine.See the manual for more information.Create the masquerade directories---------------------------------The easiest way to use distcc is in "masquerade" mode, where it isinstalled on the path to "catch" calls to the compiler and redirectthem over the network.  Other options are discussed in the manual.For instance, you could create the directory named /usr/lib/distcc/binand populate it with links.# mkdir /usr/lib/distcc/bin# cd /usr/lib/distcc/bin# ln -s ../../../bin/distcc gcc# ln -s ../../../bin/distcc cc# ln -s ../../../bin/distcc g++# ln -s ../../../bin/distcc c++Do this for all compiler names that you use.Then, to use distcc, a user just needs to put the directory/usr/lib/distcc/bin early in the PATH and distcc will handle the rest.  export PATH=/usr/lib/distcc/bin:$PATHUse with ccache---------------The best way to use is to set up a similar masquerade directory forccache, and put it on the path before distcc.Complete the survey-------------------Once you have distcc working for your own application, please completeand mail in the survey in survyey.txt.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -