⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 install.html

📁 c语言格式化源代码
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>    <title>Artistic Style - Install Information</title>    <meta http-equiv="Content-Type"          content="text/html; charset=us-ascii" />    <style type="text/css">    /*<![CDATA[*/    <!--     body {margin-top:0.5in; margin-right:0.8in; margin-bottom:0.5in; margin-left:1.3in;}    h1 {color:#0000A0; text-align:center; font-style:italic; font-size:200%; }    h2 {color:#0000A0; font-size:130%; margin-top:0.4in; margin-left:-0.4in;}    h3 {color:#0000A0;}    h4 {font-size:105%; margin-left:0.4in;}    h5 {font-size:105%;}    p {font-size:105%;}    p.noindent {font-size:105%; margin-left:-0.4in;}    ol {font-size:105%;}    ul {font-size:105%;} pre {color:#0000A0;}    p.contents1 { margin-top:0in;            margin-left:0in;            margin-bottom:0in;            margin-right:0in; font-size:110%; }    p.contents2 { margin-top:0in; margin-left:.3in;            margin-bottom:0in;            margin-right:.3in; }    a:link, a:visited { color:blue; text-decoration:none; }    a:hover { color:#F00000; text-decoration:none; }    -->    /*]]>*/    </style></head><body>    <h1>Artistic Style Install Information</h1>    <h2 id="Contents">Contents</h2>    <p class="contents1"><a href="#_Artistic_Style_Versions">Artistic Style Versions</a></p>    <p class="contents1"><a href="#_Linux_Version">Linux Version</a></p>    <p class="contents2"><a href="#_GCC_Compiler">GCC Compiler</a></p>    <p class="contents2"><a href="#_Intel_Compiler">Intel Compiler</a></p>    <p class="contents2"><a href="#_Other_Makefile_Options">Other Makefile Options</a></p>    <p class="contents1"><a href="#_Mac_OS_X_Version">Mac OS X Version</a></p>    <p class="contents1"><a href="#_OpenVMS_Version">OpenVMS Version</a></p>    <p class="contents1"><a href="#_Windows_Version">Windows Version</a></p>    <p class="contents1"><a href="#_Compiler_Options">Compiler Options</a></p>    <h2 id="_Artistic_Style_Versions">Artistic Style Versions</h2>    <p class="noindent">astyle_x.y_linux.tar.gz is the <b>Linux</b> version of Artistic Style. It    contains the source code, documentation, and makefiles. The Linux Version compile instructions    below give information for compiling the source code.</p>    <p class="noindent">astyle_x.y_macosx.tar.gz is the <b>Mac OS X</b> version of Artistic Style.    It contains the source code, documentation, and a makefile. The Mac OS X Version compile    instructions below give information for compiling the source code.</p>    <p class="noindent">astyle_x.y_openvms.zip is the <b>OpenVMS</b> version of Artistic Style. It    contains the source code, documentation, object files, build files, and executables. The    OpenVMS Version compile instructions below give information for compiling the source code.    Object code is included for people that don't have the Hewlett-Packard C++ compiler.</p>    <p class="noindent">astyle_x.y_windows.zip is the <b>Windows</b> version of Artistic Style. It    contains the source code, documentation, Visual C project files, and an executable. The Windows    Version compile instructions below give information for compiling the source code.</p>    <p class="noindent">Only one platform is supported in each distribution package. If you use    Artistic Style on more than one platform you will need to download packages for each platform.    The main difference in platforms is the build directories and the line endings. Most compilers    and development packages will accept any type of line ending. The source code and documentation    are the same for all distributions.</p>    <h2 id="_Linux_Version">Linux Version</h2>    <h3 id="_GCC_Compiler">GCC Compiler</h3>    <p>To compile using the GCC compiler you must have GCC (3.1 or better) installed. To build the    Artistic Style configurations use the makefile located in the astyle/buildgcc directory. The    executables will be in the astyle/bin directory. To build the command line configuration enter    the following:</p>    <pre> cd astyle/buildgcc<br /> make</pre>    <p>To build the other astyle configurations you can enter the file name or a symbolic name.    Entering "make astyle" or "make release" will build the command line configuration. Following    are the symbolic names and file names (in parens) of the various configurations:</p>    <ul>        <li><b>release</b> builds the Artistic Style command line program (astyle). This is the        default option.</li>        <li><b>shared</b> builds the Artistic Style program as a shared library        (libastyle.so).</li>        <li><b>static</b> builds the Artistic Style program as a static library (libastyle.a).</li>        <li><b>debug</b> builds the Artistic Style command line program with debugging information        (astyled).</li>        <li><b>shareddebug</b> builds the Artistic Style program as a shared library with debugging        information (libastyled.so).</li>        <li><b>staticdebug</b> builds the Artistic Style program as a static library with debugging        information (libastyled.a).</li>        <li>            <b>all</b> builds all of the above configurations.             <p>The following Java shared library builds are separate from the above. They include            the Java Native Interface (JNI) and require that the Java Development Kit (JDK) be            installed. The environment variable JAVA_HOME should be defined. It defines the install            directory for the JDK. The makefile also has default install directories for Java 5 and            6. If the compile cannot find the file jni.h, either set the variable or change the            value in the makefile.</p>        </li>        <li><b>java</b> builds the Artistic Style program as a shared library which includes the        Java Native Interface (libastylej.so).</li>        <li><b>javadebug</b> builds the Artistic Style program as a shared library which includes        the Java Native Interface and debugging information (libastylejd.so).</li>        <li><span style="font-weight: bold;">javaall</span> builds all of the above java        configurations.</li>    </ul>    <p>More than one configuration can be built at the same time. For example, to build all of the    release configurations enter:</p>    <pre> cd astyle/build<br /> make release shared static</pre>    <h3 id="_Intel_Compiler">Intel Compiler</h3>    <p>To build the Artistic Style configurations use the makefile located in the astyle/buildintel    directory. The executables will be in the astyle/bin directory. To build the command line    configuration enter the following:</p>    <pre> cd astyle/buildintel<br /> make</pre>    <p>To build the other astyle configurations you can enter the file name or a symbolic name. The    configuration names for Intel are the same as for the <a href="#_GCC_Compiler">GCC    compiler</a>. More than one configuration can be built at the same time. For example, to build    all of the debug configurations enter:</p>    <pre> cd astyle/buildintel<br /> make debug shareddebug staticdebug</pre>    <h3 id="_Other_Makefile_Options">Other Makefile Options</h3>    <p>The following makefile options are also available for GCC and Intel.</p>    <h5>clean</h5>    <p>Removes the object and executable files for all configurations.</p>    <p>To remove the files for all configurations:</p>    <pre> make clean</pre>    <h5>cleanobj</h5>    <p>Removes the object files for all configurations. The executables will not be removed.</p>    <p>To remove only the object files for all configurations:</p>    <pre> make cleanobj</pre>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -