📄 http:^^www.cs.washington.edu^research^projects^zpl^using^partial-install-instruct.html
字号:
Date: Mon, 02 Dec 1996 15:21:13 GMTServer: NCSA/1.4.2Content-type: text/html<html><head><title>ZPL Blurbs: ZPL Compiler Partial Installation Installation Instructions</title></head><body><h1>ZPL Compiler Partial Installation Instructions</h1><h5>(A ZPL Blurb)</h5><hr><p>This document describes the requirements and process for setting up a ZPLcompiler partial installation on a single processor UNIX syste,. It isassumed that you are familiar with the <!WA0><!WA0><!WA0><a href="http://www.cs.washington.edu/research/projects/zpl/using/xxx.html">ZPL CompilationProcess</a>. After you have completed the partial installation, you maycompile ZPL source codes using the <!WA1><!WA1><!WA1><a href="http://www.cs.washington.edu/research/projects/zpl/using/using-zcr.html">Remote ZPLCompiler</a> (<tt>zcr</tt>).</p><p>The partial installation requires less that half an hour and fewerthan 2 megabytes of disk space. The resource economy comes from thefact that the ZPL compiler itself is not included in the partialinstallation. Run-time libraries and configuration files areincluded, but in order to actually compile a ZPL program, you use aclient stub to connect to the ZPL Net-Compiler server, whichcompiles the program for you. If you are not sure you want to investthe effort, check out the <!WA2><!WA2><!WA2><a href="http://www.cs.washington.edu/research/projects/zpl/web-compiler">Web-Compiler</a>first. </p><h2>Requirements</h2><h3>Hardware</h3><P>You may perform the partial installation on any UNIX machine. </P><P>The process by which you may perform the partial installation on parallelmachines will be described in another document (that does not yet exist). </P><h3>Software</h3><ul> <li>Basic UNIX utilities (e.g., sh, make, tar, perl, etc.)</li> <li>ANSI C compiler</li></ul><H2>Basics</H2><p>Recall the two steps to the <!WA3><!WA3><!WA3><a href="http://www.cs.washington.edu/research/projects/zpl/using/xxx.html">ZPL compilation process</a>.First, from a ZPL source program, a collection of C files aregenerated. Then, the C files are compiled and linked with machinedependent and independent run-time libraries to produce an executableprogram. The partial installation primarily supports the second step.The installation includes all the run-time libraries and configurationfiles that select the appropriate compiler, compiler flags, etc.</p><h2>Partial Installation</h2><p>This section describes how to create a partial installation on yourhardware. It is assumed that you are installing on a machine that iscurrently supported (otherwise, you may want to consider undertaking the port;see the <!WA4><!WA4><!WA4><a href="http://www.cs.washington.edu/research/projects/zpl/using/xxx.html">Porting the ZPL System</a> document). Theinstallation process involves creating the ZPL project directory hierarchy(typically in <tt>/usr/local/zpl</tt>, though it can be anywhere). This isachieved in two steps: (1) FTP a tar file for, and(2) compile and link the run-time libraries. </p><h3>Download files</h3><P>FTP the following compressed tar file. </P><ul> <li>Sequential UNIX workstation (<!WA5><!WA5><!WA5><a href="ftp://ftp.cs.washington.edu/pub/orca/misc/home.seq.tar.Z">home.seq.tar.Z</a>)</li></ul><p>Uncompress and untar this file in the ZPL project directory(e.g., <tt>/usr/local/zpl</tt>). E.g.,</p><pre> zcat home.seq.tar.Z | tar -xvf -</pre><h3>Compile the run-time libraries</h3><p>The first step in compiling the run-time libraries is to set the<tt>ZPLTARGET</tt> environment variable to indicate that you want to compilefor a sequential UNIX workstation. </P><PRE> setenv ZPLTARGET seq</PRE><p>To actually build the libraries, move into the directory where youuntarred the file and type the following.<PRE> cd home/src zmake all cd seq zmake all</PRE>That's it. You are all set to use the remote ZPL compiler. </P><P>See the <!WA6><!WA6><!WA6><a href="http://www.cs.washington.edu/research/projects/zpl/using/using-zcr.html">Using the Remote ZPL Compiler</a> pagefor an introduction to <tt>zcr</tt>.</p><inc srv "/research/projects/zpl/footer.html"><hr> <p><center>[<!WA7><!WA7><!WA7><a href="http://www.cs.washington.edu/research/projects/zpl/">ZPL</a> | <!WA8><!WA8><!WA8><a href="http://www.cs.washington.edu/">UW CSE</a> |<!WA9><!WA9><!WA9><a href="http://www.cac.washington.edu:1183/">UW</a>]<address><!WA10><!WA10><!WA10><A HREF="mailto:zpl-info@cs.washington.edu">zpl-info@cs.washington.edu</a></address></center></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -