Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 247b28499c443e092731ffba814075f2 > files > 1299

mpqc-html-2.3.1-9mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>MPQC: </title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
The sc-config program is used to obtain information about MPQC's compile time environment.<p>
<h1>Description</h1>
<p>
The sc-config program is used to obtain information about MPQC's compile time environment. It can be used to initialize variables in a makefile that will be used to compile programs that depend on MPQC. For example, the following makefile could be used to compile a program <code>myprog</code>, which depends on the MPQC libraries.<p>
<pre>
SCCONFIG = /usr/local/mpqc/current/bin/sc-config
CXX := $(shell $(SCCONFIG) --cxx)
CXXFLAGS := $(shell $(SCCONFIG) --cxxflags)
CPPFLAGS := $(shell $(SCCONFIG) --cppflags)
LIBS := $(shell $(SCCONFIG) --libs)</pre><p>
<pre>myprog: myprog.o
	$(CXX) $(CXXFLAGS) -o $@ $^ $(LIBS)
</pre><p>
<h1>Running sc-config</h1>
<p>
sc-config takes the following command line options:<p>
<dl>
<dt><code>--prefix</code></dt>
<dd>Print the installation prefix. </dd>
<dt><code>--exec-prefix</code></dt>
<dd>Print the executable installation prefix. </dd>
<dt><code>--version</code></dt>
<dd>Print the version number. </dd>
<dt><code>--so-version</code></dt>
<dd>Print the shared object version. </dd>
<dt><code>--scdatadir</code></dt>
<dd>Print the data installation directory. </dd>
<dt><code>--buildid</code></dt>
<dd>Print the build identifier. </dd>
<dt><code>--cppflags</code></dt>
<dd>Print the C preprocessor flags. </dd>
<dt><code>--cflags</code></dt>
<dd>Print the C flags. </dd>
<dt><code>--cxxflags</code></dt>
<dd>Print the C++ flags. </dd>
<dt><code>--cc</code></dt>
<dd>Print the C flags. </dd>
<dt><code>--f77flags</code></dt>
<dd>Print the FORTRAN 77 flags. </dd>
<dt><code>--f77</code></dt>
<dd>Print the FORTRAN 77 compiler. </dd>
<dt><code>--cxx</code></dt>
<dd>Print the C++ compiler. </dd>
<dt><code>--libdir</code></dt>
<dd>Print the library directories. </dd>
<dt><code>--libs</code></dt>
<dd>Print the libraries. </dd>
<dt><code>--libtool</code></dt>
<dd>Print the libtool executable. </dd>
<dt><code>--ltlink</code></dt>
<dd>Print the libtool link command. </dd>
<dt><code>--ltlinklibopts</code></dt>
<dd>Print the libtool library link options. </dd>
<dt><code>--ltlinkbinopts</code></dt>
<dd>Print the libtool binary link options. </dd>
<dt><code>--ltcomp</code></dt>
<dd>Print the libtool compile command. </dd>
<dt><code>--ltinst</code></dt>
<dd>Print the libtool install command. </dd>
</dl>
<p>
<h1>License</h1>
<p>
sc-config is open-source software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.<p>
<h1>Warranty</h1>
<p>
sc-config is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. </div>
<hr>
<address>
<small>

Generated at Wed Oct 14 14:12:12 2009 for <a
href="http://www.mpqc.org">MPQC</a>
2.3.1 using the documentation package <a
href="http://www.doxygen.org">Doxygen</a>
1.5.9.

</small>
</address>
</body>
</html>