1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136
|
Now you are reading the file "script/config.help". This is a brief
manual of the "configure" program of xcin version 2.3.03 (and above).
{bzb\Ū "script/config.help" ɡCoO@ xcin 2.3.03 (ΥHW)
"configure" {ФC
The configure procedure is divided into two parts, with the following
two scripts called by the "configure" program:
xcin ]w{ǤӨBJAO "configure" {ҩIsU
{ҹF:
1. script/configure.menu:
It will display a menu for users to do manual setting. After
the setting, it will save the result into the file "config.status".
{|CX@ӿzӳ]wCb]wA|N]w
Ȧsb "config.status" ɤC
2. script/configure.makefile:
It will do simple configuration and create Makefiles according
to the "config.status". Therefore, you can create/modify the
"config.status" file by hand and just run this script manually
to complete the configuration.
{|ھڱzb "config.status" ]wȰi@B]wAüg
XҦ Makefile C]Az]iHۦg (έק) @ config.status
ɨê楻{AHҦ]wʧ@C
The main program "configure" accepts the following arguements:
D{ "configure" iHHUﶵ:
Usage: configure [-h] [--help] [--prefix=PREFIX] [--os=OSTYPE] [--no-menu]
Option "--prefix" will change the installation prefix path.
"--prefix" ﶵiHܹw]w˸|C
Option "--os" will select an OS type (see below)
"--os" ﶵiHܧ@~tΪO (U)
If option "--no-menu" is applied, then the displaying menu will
be skipped, and the program enter the creating Makefiles directly.
pGzϥΤF "--no-menu" ﶵAh{|Lo@BAӪiJ
gX Makefiles o@BC
In the menu, if you want to change any setting, you can just press a
"hot key" in the braket []. For example, if you press "x" or "X", then
you will enter a sub-menu for detialed setting of the "xcin" package.
b椤ApGzQnܥ]wAziHUA [] YӹF
CҦpApGzU "x" "X", hzN|iJ "xcin" ƿHi
i@B]wC
The options "--prefix" and "--os" of the main program "configure" will
affect the corresponding values in the manu. For example, setting the
"--prefix" will change the xcin-bin path, xcin-main path, and xcin-manual
path at the same time. Of coures, you can separately change the three "xcin-"
paths if you like.
D{ﶵ "--prefix" H "--os" |vT椤۹ﶵCҦpA]
w "--prefix" |Pɧ xcin-bin path, xcin-main path, H xcin-manual
path CMAzwܤ]iHO]wo "xcin-" paths ȡC
Similarly, the option "--os", or, changing "[E]Environment" in the menu,
will also change the "[C]C Compiler", "[F]CFLAGS", "[I]X Include", and
"[L]X Library" at the same time. There are pre-defined environment (or OS
type) in the "script/os_def" directory. You can create your own environment
with suitable Environment name, C Compiler, CFLAGS, X Include, and X Library
in the menu and just use the command [O] to save it. Then a new environment
setting file will be created in "script/os_def", and you can reload it when
you need.
aAﶵ "--os", Ϊ̬Ob椤 "[E]Environment" ]|Pɧ
"[C]C Compiler", "[F]CFLAGS", "[I]X Include", H "[L]X Library" ȡC
bڭ̦b "script/os_def" ؿUѤFXӹw] (Χ@~tO)
zΡCz]iHۦwq@ҡA]nAҦW (Χ@~tΦW)B
C sĶWB X Include ؿBH X 禡wؿAU "O" Ns
_ӡAh{|Nz]wg "script/os_def" ؿUAziHbݭnɱN
sJϥΡC
Besides these, the xcin package has the following portions:
FoǥH~A "xcin" t٥]FHUXӳ:
1. [X]Xcin:
The "xcin" main program. It has the options:
"xcin" D{CHUӿﶵ:
C_Font: the default Chinese font name
E_Font: the default English font name
C_Font: w]rW
E_Font: w]^rW
2. [T]Input Tables:
The ".cin" tables. Now in addition to the converted ".tab*" tables,
you can also decide if you want to install the source of the tables
(i.e., ".cin" files).
oإ]F ".cin" ɡC{bzFiHwഫn ".tab*" ɥH
~Az]iHMwO_n˥̪l (Y ".cin" )C
3. [U]Utilities:
Here we only provide two utilities:
bڭ̥uѨӤu{:
cin2tab: a converter from ".cin" to ".tab*".
tsintools: a collect of programs for "tsin" functionality.
cin2tab: ".cin" ".tab*" ഫ{C
tsintools: PJk{C
4. [D]Documentations:
This includes manual pages, HOWTOs, and some other documents.
oإ]F man page, HOWTO AHΨLC
After all the settings, you can apply the command "[S]Save and Continue"
to do configuration and Makefiles creation. Then you can type "make" and
"make install", and enjoy.
bodz]wAzNiHU "[S]Save and Continue" ROHii@B]w
μgX Makefile ɡCMAzNiH "make" "make install", }l
xcin FC
by Tung-Han Hsieh (ªF)
|