1GAUCHE-CONFIG(1) Gauche Commands GAUCHE-CONFIG(1)
2
3
4
6 gauche-config - retrieve configuration parameters of Gauche
7
9 gauche-config option
10
12 Gauche-config displays various parameters specified at the configura‐
13 tion time of the Gauche Scheme implementation. It can be used in Make‐
14 file and other configuration scripts that uses Gauche.
15
16
18 General parameters
19 -V Gauche version.
20
21 --reconfigure
22 Prints the command line used to configure the current Gauche
23 installation. It is pretty handy to configure another Gauche
24 source tree with the same configuration; just type `gauche-config
25 --reconfigure | sh'.
26
27
28 Parameters to compile an application using Gauche
29 -I, -L, -l
30 List of "-I" options (include directories), "-L" options
31 (library directories), and "-l" options (libraries) for the com‐
32 piler which are required to compile applications that links
33 Gauche library.
34
35 --cc Name of the compiler used to compile the current installation.
36
37 --ac Directory name that contains Gauche specific autoconf macro.
38
39 --arch The architecture signature, which is used in the pathname of
40 architecture-dependent files, e.g. "i686-pc-linux-gnu".
41
42
43 Parameters to install files
44 --syslibdir, --sysarchdir, --sysincdir
45 Directories where the Gauche core system's Scheme files, archi‐
46 tecture-dependent files, and header files are installed, respec‐
47 tively. These directories belong to Gauche core; additional
48 packages should not put files in them.
49
50 --sitelibdir, --sitearchdir, --siteincdir
51 Directories where the additional packages will put Scheme files,
52 architecture-dependent files, and header files, respectively.
53
54 --pkglibdir, --pkgarchdir, --pkgincdir
55 Same as --sitelibdir etc, except that the base directory name is
56 left as `${datadir}'. The result is suitable to be embedded in
57 Makefiles, for the base directory could be overridden at build
58 time rather than configure time. The default template for
59 Gauche extension packages use these options.
60
61 --mandir, --infodir
62 Directories where gauche manpage and info docs are installed.
63
64
65 Parameters to compile Gauche extention
66 --object-suffix
67 Extension of the compiled objects (e.g. 'o').
68
69 --executable-suffix
70 Suffix of the executable (usually empty on Unix variants, and
71 '.exe' on Windows. Note that '.' is a part of suffix in this
72 option, as opposed to other -suffix options.
73
74 --so-suffix
75 Extension of the dynamically loadable (dlopen-able) modules
76 (e.g. 'so' or 'dll').
77
78 --so-cflags
79 Flags required to compile shared object.
80
81 --so-ldflags
82 Flags required to link a gauche extension.
83
84 --so-libs
85 Libraries to be linked with a gauche extension.
86
87 --dylib-suffix
88 Suffix for dynamically linked libraries. Some unix variants
89 require special suffix (such as 'dylib'). On other platforms
90 this is the same as '--so-suffix'.
91
92 --dylib-ldflags
93 Flags required to link dynamically linked library file. Some
94 unix variants require special flags. On other platforms this is
95 the same as '--so-ldflags'.
96
97 --rpath-flag
98 Compler flag(s) to embed RPATH in the binary.
99
100 --libgauche-so
101 The name of shared library of libgauche.
102
103
105 Shiro Kawai (shiro @ acm . org)
106
107
109 gosh(1), gauche-package(1)
110
111 Gauche Scheme script engine:
112 http://practical-scheme.net/gauche/
113
114
115
116
117Gauche 0.9.5 GAUCHE-CONFIG(1)