1sc-config(1)                         MPQC                         sc-config(1)
2
3
4

NAME

6       sc-config - The sc-config program is used to obtain information about
7       MPQC's compile time environment.
8

Synopsis

10       sc-config {--prefix, --exec-prefix, --version, --so-version, --scdatadir, --buildid, --cppflags, --cflags, --cxxflags, --cc, --f77flags, --f77, f--cxx, --libdir, --libs, --libtool, --ltlink, --ltlinklibopts, --ltlinkbinopts, --ltcomp, --ltinst}
11

Description

13       The sc-config program is used to obtain information about MPQC's
14       compile time environment. It can be used to initialize variables in a
15       makefile that will be used to compile programs that depend on MPQC. For
16       example, the following makefile could be used to compile a program
17       myprog, which depends on the MPQC libraries.
18
19       SCCONFIG = /usr/local/mpqc/current/bin/sc-config
20       CXX := $(shell $(SCCONFIG) --cxx)
21       CXXFLAGS := $(shell $(SCCONFIG) --cxxflags)
22       CPPFLAGS := $(shell $(SCCONFIG) --cppflags)
23       LIBS := $(shell $(SCCONFIG) --libs)
24
25       myprog: myprog.o
26               $(CXX) $(CXXFLAGS) -o $@ $^ $(LIBS)
27

Running sc-config

29       sc-config takes the following command line options:
30
31       --prefix
32           Print the installation prefix.
33
34       --exec-prefix
35           Print the executable installation prefix.
36
37       --version
38           Print the version number.
39
40       --so-version
41           Print the shared object version.
42
43       --scdatadir
44           Print the data installation directory.
45
46       --buildid
47           Print the build identifier.
48
49       --cppflags
50           Print the C preprocessor flags.
51
52       --cflags
53           Print the C flags.
54
55       --cxxflags
56           Print the C++ flags.
57
58       --cc
59           Print the C flags.
60
61       --f77flags
62           Print the FORTRAN 77 flags.
63
64       --f77
65           Print the FORTRAN 77 compiler.
66
67       --cxx
68           Print the C++ compiler.
69
70       --libdir
71           Print the library directories.
72
73       --libs
74           Print the libraries.
75
76       --libtool
77           Print the libtool executable.
78
79       --ltlink
80           Print the libtool link command.
81
82       --ltlinklibopts
83           Print the libtool library link options.
84
85       --ltlinkbinopts
86           Print the libtool binary link options.
87
88       --ltcomp
89           Print the libtool compile command.
90
91       --ltinst
92           Print the libtool install command.
93

License

95       sc-config is open-source software; you can redistribute it and/or
96       modify it under the terms of the GNU General Public License as
97       published by the Free Software Foundation; either version 2 of the
98       License, or (at your option) any later version.
99

Warranty

101       sc-config is distributed in the hope that it will be useful, but
102       WITHOUT ANY WARRANTY; without even the implied warranty of
103       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
104       General Public License for more details.
105
106
107
108Version 2.3.1                   Thu Jul 22 2021                   sc-config(1)
Impressum