comparison INSTALL @ 461:a53225b44ea5

further refinement of build system: follow general free sw standards as much as possible
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 11 May 2024 07:09:59 +0000
parents 4b6fa53a8240
children
comparison
equal deleted inserted replaced
460:cb1d1ea7f2c5 461:a53225b44ea5
33 33
34 * When you run ./configure, you get the opportunity to either leave CC=, CFLAGS= 34 * When you run ./configure, you get the opportunity to either leave CC=, CFLAGS=
35 and the install prefix at their default values, or change them to your own 35 and the install prefix at their default values, or change them to your own
36 preferences. 36 preferences.
37 37
38 * There are no more install-lib and install-utils targets, just regular 38 * There are no more mandatory install-lib and install-utils targets, instead
39 'make install' that installs everything into whichever prefix you chose at 39 you get standard 'make install' that installs everything into whichever
40 configure time. 40 prefix you chose at configure time. (The ability to install only Division 1
41 components with 'make install-lib' or only Division 2 components with
42 'make install-utils' is still available, but it is now an experts-only
43 option: if you don't see yourself needing this type of split install, then
44 you don't need it.)
41 45
42 The default install prefix is /opt/themwi; to change it, pass the standard 46 The default install prefix is /usr/local, following the general standard for
43 --prefix=/wherever option to ./configure script. The default compilation 47 software packages and configure scripts. To change this install location, pass
44 settings are CC=gcc and CFLAGS=-O2; to change them, pass CC=my-whatever-cc 48 the standard --prefix=/wherever option to ./configure script. In addition to
45 and/or CFLAGS="-fwhatever-flags" to configure. 49 --prefix, our configure script accepts --exec-prefix, --bindir, --includedir
50 and --libdir options, following the common standard.
51
52 The default compilation settings are CC=gcc and CFLAGS=-O2; to change them,
53 pass CC=my-whatever-cc and/or CFLAGS="-fwhatever-flags" to configure.