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

📄 install.html

📁 minixml2.5最新的版本。 嵌入式xml 解析、查找、生成、遍历 功能,全部实现是标准c,移植很容易。 最新的2.5
💻 HTML
字号:
<html><body><h1 align='right'><a name='INSTALL'><img src="1.gif" align="right"hspace="10" width="100" height="100" alt="1"></a>Building,Installing, and Packaging Mini-XML</h1><p>This chapter describes how to build, install, and packageMini-XML on your system from the source archive. You will need anANSI/ISO-C compatible compiler to build Mini-XML - GCC works, asdo most vendors' C compilers. If you are building Mini-XML onWindows, we recommend using the Visual C++ environment with thesupplied solution file. For other operating systems, you'll need aPOSIX-compatible shell and <tt>make</tt> program in addition tothe C compiler.</p><h2>Compiling Mini-XML</h2><p>Mini-XML comes with both an autoconf-based configure scriptand a Visual C++ solution that can be used to compile the libraryand associated tools.</p><h3>Compiling with Visual C++</h3><p>Open the <VAR>mxml.sln</VAR> solution in the <VAR>vcnet</VAR>folder. Choose the desired build configuration, "Debug" (thedefault) or "Release", and then choose <VAR>Build Solution</VAR>from the <VAR>Build</VAR> menu.</p><h3>Compiling with Command-Line Tools</h3><p>Type the following command to configure the Mini-XML sourcecode for your system:</p><pre>    <kbd>./configure ENTER</kbd></pre><p>The default install prefix is <var>/usr/local</var>, whichcan be overridden using the <kbd>--prefix</kbd> option:</p><pre>    <kbd>./configure --prefix=/foo ENTER</kbd></pre><p>Other configure options can be found using the<kbd>--help</kbd> option:</p><pre>    <kbd>./configure --help ENTER</kbd></pre><p>Once you have configured the software, use the<tt>make(1)</tt> program to do the build and run the testprogram to verify that things are working, as follows:</p><pre>    <kbd>make ENTER</kbd></pre><h2>Installing Mini-XML</h2><p>If you are using Visual C++, copy the <VAR>mxml.lib</VAR> andand <VAR>mxml.h</VAR> files to the Visual C++ <VAR>lib</VAR> and<VAR>include<VAR> directories, respectively.</p><p>Otherwise, use the <tt>make</tt> command with the<kbd>install</kbd> target to install Mini-XML in the configureddirectories:</p><pre>    <kbd>make install ENTER</kbd></pre><h2>Creating Mini-XML Packages</h2><p>Mini-XML includes two files that can be used to create binarypackages. The first file is <var>mxml.spec</var> which is usedby the <tt>rpmbuild(8)</tt> software to create Red Hat PackageManager ("RPM") packages which are commonly used on Linux. Since<tt>rpmbuild</tt> wants to compile the software on its own, youcan provide it with the Mini-XML tar file to build thepackage:</p><pre>    <kbd>rpmbuild -ta mxml-<i>version</i>.tar.gz ENTER</kbd></pre><p>The second file is <var>mxml.list</var> which is used by the<tt>epm(1)</tt> program to create software packages in a varietyof formats. The <tt>epm</tt> program is available from thefollowing URL:</p><pre>    <a href='http://www.easysw.com/epm/'>http://www.easysw.com/epm/</a></pre><p>Use the <tt>make</tt> command with the <kbd>epm</kbd> targetto create portable and native packages for your system:</p><pre>    <kbd>make epm ENTER</kbd></pre><p>The packages are stored in a subdirectory named<var>dist</var> for your convenience. The portable packagesutilize scripts and tar files to install the software on thetarget system. After extracting the package archive, use the<var>mxml.install</var> script to install the software.</p><p>The native packages will be in the local OS's native format:RPM for Red Hat Linux, DPKG for Debian Linux, PKG for Solaris,and so forth. Use the corresponding commands to install thenative packages.</p></body></html>

⌨️ 快捷键说明

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