Changeset 8deb8827c126ef472a2cc3a4bd4b75a20beb1cb5

Show
Ignore:
Timestamp:
04/14/09 19:24:39 (3 years ago)
Author:
Lincoln de Sousa <lincoln@…>
Children:
c315e92c1403c4987281f9b76010d915d10b1b29
Parents:
50fa852268329e108d18ac0348340acf9c87acd2
git-committer:
Lincoln de Sousa <lincoln@…> (04/14/09 19:24:39)
Message:

Autotools stuff updated INSTALL file, so I'm
committing the changes.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • INSTALL

    rdff44dc r8deb882  
    33 
    44Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, 
    5 2006, 2007 Free Software Foundation, Inc. 
    6  
    7 This file is free documentation; the Free Software Foundation gives 
     52006, 2007, 2008 Free Software Foundation, Inc. 
     6 
     7   This file is free documentation; the Free Software Foundation gives 
    88unlimited permission to copy, distribute and modify it. 
    99 
     
    1111================== 
    1212 
    13 Briefly, the shell commands `./configure; make; make install' should 
     13   Briefly, the shell commands `./configure; make; make install' should 
    1414configure, build, and install this package.  The following 
    1515more-detailed instructions are generic; see the `README' file for 
     
    7474===================== 
    7575 
    76 Some systems require unusual options for compilation or linking that the 
    77 `configure' script does not know about.  Run `./configure --help' for 
    78 details on some of the pertinent environment variables. 
     76   Some systems require unusual options for compilation or linking that 
     77the `configure' script does not know about.  Run `./configure --help' 
     78for details on some of the pertinent environment variables. 
    7979 
    8080   You can give `configure' initial values for configuration parameters 
     
    8989==================================== 
    9090 
    91 You can compile the package for more than one kind of computer at the 
     91   You can compile the package for more than one kind of computer at the 
    9292same time, by placing the object files for each architecture in their 
    9393own directory.  To do this, you can use GNU `make'.  `cd' to the 
     
    101101reconfiguring for another architecture. 
    102102 
     103   On MacOS X 10.5 and later systems, you can create libraries and 
     104executables that work on multiple system types--known as "fat" or 
     105"universal" binaries--by specifying multiple `-arch' options to the 
     106compiler but only a single `-arch' option to the preprocessor.  Like 
     107this: 
     108 
     109     ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ 
     110                 CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ 
     111                 CPP="gcc -E" CXXCPP="g++ -E" 
     112 
     113   This is not guaranteed to produce working output in all cases, you 
     114may have to build one architecture at a time and combine the results 
     115using the `lipo' tool if you have problems. 
     116 
    103117Installation Names 
    104118================== 
    105119 
    106 By default, `make install' installs the package's commands under 
     120   By default, `make install' installs the package's commands under 
    107121`/usr/local/bin', include files under `/usr/local/include', etc.  You 
    108122can specify an installation prefix other than `/usr/local' by giving 
     
    127141================= 
    128142 
    129 Some packages pay attention to `--enable-FEATURE' options to 
     143   Some packages pay attention to `--enable-FEATURE' options to 
    130144`configure', where FEATURE indicates an optional part of the package. 
    131145They may also pay attention to `--with-PACKAGE' options, where PACKAGE 
     
    139153`--x-libraries=DIR' to specify their locations. 
    140154 
     155Particular systems 
     156================== 
     157 
     158   On HP-UX, the default C compiler is not ANSI C compatible.  If GNU 
     159CC is not installed, it is recommended to use the following options in 
     160order to use an ANSI C compiler: 
     161 
     162     ./configure CC="cc -Ae" 
     163 
     164and if that doesn't work, install pre-built binaries of GCC for HP-UX. 
     165 
     166   On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot 
     167parse its `<wchar.h>' header file.  The option `-nodtk' can be used as 
     168a workaround.  If GNU CC is not installed, it is therefore recommended 
     169to try 
     170 
     171     ./configure CC="cc" 
     172 
     173and if that doesn't work, try 
     174 
     175     ./configure CC="cc -nodtk" 
     176 
    141177Specifying the System Type 
    142178========================== 
    143179 
    144 There may be some features `configure' cannot figure out automatically, 
    145 but needs to determine by the type of machine the package will run on. 
    146 Usually, assuming the package is built to be run on the _same_ 
    147 architectures, `configure' can figure that out, but if it prints a 
    148 message saying it cannot guess the machine type, give it the 
     180   There may be some features `configure' cannot figure out 
     181automatically, but needs to determine by the type of machine the package 
     182will run on.  Usually, assuming the package is built to be run on the 
     183_same_ architectures, `configure' can figure that out, but if it prints 
     184a message saying it cannot guess the machine type, give it the 
    149185`--build=TYPE' option.  TYPE can either be a short name for the system 
    150186type, such as `sun4', or a canonical name which has the form: 
     
    172208================ 
    173209 
    174 If you want to set default values for `configure' scripts to share, you 
    175 can create a site shell script called `config.site' that gives default 
    176 values for variables like `CC', `cache_file', and `prefix'. 
     210   If you want to set default values for `configure' scripts to share, 
     211you can create a site shell script called `config.site' that gives 
     212default values for variables like `CC', `cache_file', and `prefix'. 
    177213`configure' looks for `PREFIX/share/config.site' if it exists, then 
    178214`PREFIX/etc/config.site' if it exists.  Or, you can set the 
     
    183219================== 
    184220 
    185 Variables not defined in a site shell script can be set in the 
     221   Variables not defined in a site shell script can be set in the 
    186222environment passed to `configure'.  However, some packages may run 
    187223configure again during the build, and the customized values of these 
     
    202238====================== 
    203239 
    204 `configure' recognizes the following options to control how it operates. 
     240   `configure' recognizes the following options to control how it 
     241operates. 
    205242 
    206243`--help' 
    207244`-h' 
    208      Print a summary of the options to `configure', and exit. 
     245     Print a summary of all of the options to `configure', and exit. 
     246 
     247`--help=short' 
     248`--help=recursive' 
     249     Print a summary of the options unique to this package's 
     250     `configure', and exit.  The `short' variant lists options used 
     251     only in the top level, while the `recursive' variant lists options 
     252     also present in any nested packages. 
    209253 
    210254`--version' 
     
    233277     `configure' can determine that directory automatically. 
    234278 
     279`--prefix=DIR' 
     280     Use DIR as the installation prefix.  *Note Installation Names:: 
     281     for more details, including other options available for fine-tuning 
     282     the installation locations. 
     283 
     284`--no-create' 
     285`-n' 
     286     Run the configure checks, but stop before creating any output 
     287     files. 
     288 
    235289`configure' also accepts some other, not widely useful, options.  Run 
    236290`configure --help' for more details.