📄 cylink foundation suite.htm
字号:
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Author" content="Michael S. Shanzer">
<title>Cylink Foundation Suite</title>
</head>
<body>
<h1 align=center>Building the Cylink Foundation Suite for Jonah</h1>
<p>
The Jonah code uses the Cylink Cryptographic Toolkit, also known as the
Foundation Suite, to provide cryptographic services. This page describes
how to build the Foundation Suite.
</p><p>
If you have not already downloaded the <A HREF=cylink.tar.gz>Foundation Suite
sources</A>, do so now, and unzip them into a directory of your choice. The
tar file contains a directory tree rooted at <tt>"TheFoundationSuite -
Full Version".</tt> Set this as your working directory.
</p><p>
The Cylink toolkit supports various platforms. Since this snapshot of Jonah
requires Windows NT or Solaris, these instructions will cover building for
those platforms only.
</p>
<h2>Windows NT</h2>
<p>
Various platform-specific build options may be specified by editing the
pc_tfs.cfg file. The most important option is whether to use the portable
C of assembly language implementations of the toolkit and BigNum libraries.
As distributed here, pc_tfs.cfg uses C for both; you may wish to experiment
with other settings. If you attempt to use the assembly language
implementation(s), you may also need to modify the definition of the
<b><tt>ASM</tt></b> symbol to point it towards your MASM installation.
</p><p>
You may also need to modify the definitions of the <b><tt>CINCDIR</tt></b>
and <b><tt>CLIBDIR</tt></b> symbols. These should point to the
<b><tt>include</tt></b> and <b><tt>lib</tt></b> subdirectories of your
Developer's Studio installation.
</p><p>
To build the toolkit, simply run the <b><tt>all.bat</tt></b> command file.
This file invokes <tt>nmake</tt> to build the entire suite, using the
<tt>pc_tfs.cfg</tt> as a configuration file. The results of a successful
build are the library <b><tt>Full.lib</tt></b> in the <b><tt>CTK</tt></b>
subdirectory, and the header files in <b><tt>CTK\Include</tt></b>.
These files must be copied into the Jonah tree as described in the Jonah
build instructions.
</p>
<h2>Solaris</h2>
<p>
The file <tt>sun_tfs.cfg</tt> is the configuration file used to
build Cylink on Solaris. The configuration file works as is.
run the following command to build Cylink:
<nobr><tt>make -f FullLib.mak CFGFILE=sun_tfs.cfg</tt></nobr>
The results of a succesful build are the library <b><tt>Full.a</tt></b> in the
<b><tt>CTK</tt></b> sub directory, and the header files in
<b><tt>CTK/Include</tt></b>. These files must be copied into the Jonah tree
as described in the Jonah build instructions.
</p><hr><p>
Hit your browser's <BACK> button to continue building Jonah.
</p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -