View file File name : jed003.html Content :<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <meta name="generator" content="hevea 2.35"> <link rel="stylesheet" type="text/css" href="jed.css"> <title>Installing JED</title> </head> <body > <a href="jed002.html"><img src="previous_motif.svg" alt="Previous"></a> <a href="index.html"><img src="contents_motif.svg" alt="Up"></a> <a href="jed004.html"><img src="next_motif.svg" alt="Next"></a> <hr> <h2 id="sec3" class="section">2 Installing JED</h2> <p>Building <span style="font-weight:bold">jed</span> from its sources requires the use of a C compiler that understands function prototypes. <span style="font-weight:bold">jed</span> has been successfully built with <code class="verb">cc</code> on the ULTRIX, VMS, and IRIX operating systems. In addition, it has been created using <code class="verb">gcc</code> under SunOS and Borland’s BCC 3.0 for the PC.</p><p>Detailed installation instructions are in separate, operating system dependent files. They are: </p><pre class="verbatim"> UNIX: install.unx VMS: install.vms IBM-PC: install.pc </pre><p>When <span style="font-weight:bold">jed</span> starts up, it will first try to load a site initialization file called <code class="verb">site.sl</code>. Site specific commands are placed here. Most likely, <code class="verb">site.sl</code> will define some functions, default hooks, etc…What goes in it is left to the discretion of the user or system manager. See the file <code class="verb">site.sl</code> for examples.</p><p>When loading <code class="verb">site.sl</code> as well as other <code class="verb">S-Lang</code> files (the user’s personal initialization file, <code class="verb">.jedrc</code> or <code class="verb">jed.rc</code>, is a special case, see below), <span style="font-weight:bold">jed</span> searches all directories specified by the environment variable <code class="verb">JED_LIBRARY</code>, and if the file is not found, <span style="font-weight:bold">jed</span> will look for it in the default directory. The environment variable <code class="verb">JED_LIBRARY</code> is a comma separated list of directories. Here are some examples of setting this variable for different systems:</p><pre class="verbatim"> VMS: define/job JED_LIBRARY dev$lib:[jedfiles] UNIX: setenv JED_LIBRARY '/usr/local/lib/jed,~/jed' IBMPC: set JED_LIBRARY = c:\editors\jed\lib </pre><p>You will probably want to put define <code class="verb">JED_LIBRARY</code> in your login startup file, e.g., <code class="verb">autoexec.bat</code>, <code class="verb">login.com</code>, or <code class="verb">.cshrc</code>.</p><p><span style="font-weight:bold">jed</span> versions 0.92 and later allow the value of <code class="verb">JED_LIBRARY</code> to be specified at compile time an it may only be necessary to define <code class="verb">JED_LIBRARY</code> as an environment variable to override its pre–compiled value.</p> <hr> <a href="jed002.html"><img src="previous_motif.svg" alt="Previous"></a> <a href="index.html"><img src="contents_motif.svg" alt="Up"></a> <a href="jed004.html"><img src="next_motif.svg" alt="Next"></a> </body> </html>