Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 723830890bac44da3d113209b14e090b > files > 525

sbcl-1.0.31-1mdv2010.0.i586.rpm

<html lang="en">
<head>
<title>Initialization Files - SBCL 1.0.31 User Manual</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="SBCL 1.0.31 User Manual">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Starting-and-Stopping.html#Starting-and-Stopping" title="Starting and Stopping">
<link rel="prev" href="Command-Line-Options.html#Command-Line-Options" title="Command Line Options">
<link rel="next" href="Initialization-and-Exit-Hooks.html#Initialization-and-Exit-Hooks" title="Initialization and Exit Hooks">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<!--

     This manual is part of the SBCL software system. See the `README'
     file for more information.

     This manual is largely derived from the manual for the CMUCL
     system, which was produced at Carnegie Mellon University and later
     released into the public domain. This manual is in the public
     domain and is provided with absolutely no warranty. See the
     `COPYING' and `CREDITS' files for more information.
   -->
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
  pre.display { font-family:inherit }
  pre.format  { font-family:inherit }
  pre.smalldisplay { font-family:inherit; font-size:smaller }
  pre.smallformat  { font-family:inherit; font-size:smaller }
  pre.smallexample { font-size:smaller }
  pre.smalllisp    { font-size:smaller }
  span.sc    { font-variant:small-caps }
  span.roman { font-family:serif; font-weight:normal; } 
  span.sansserif { font-family:sans-serif; font-weight:normal; } 
--></style>
</head>
<body>
<div class="node">
<a name="Initialization-Files"></a>
<p>
Next:&nbsp;<a rel="next" accesskey="n" href="Initialization-and-Exit-Hooks.html#Initialization-and-Exit-Hooks">Initialization and Exit Hooks</a>,
Previous:&nbsp;<a rel="previous" accesskey="p" href="Command-Line-Options.html#Command-Line-Options">Command Line Options</a>,
Up:&nbsp;<a rel="up" accesskey="u" href="Starting-and-Stopping.html#Starting-and-Stopping">Starting and Stopping</a>
<hr>
</div>

<!-- node-name,  next,  previous,  up -->
<h3 class="section">3.4 Initialization Files</h3>

<p>SBCL processes initialization files with <code>read</code> and <code>eval</code>,
not <code>load</code>; hence initialization files can be used to set startup
<code>*package*</code> and <code>*readtable*</code>, and for proclaiming a global
optimization policy.

     <ul>
<li><strong>System Initialization File</strong>

     <p>Defaults to <samp><samp><span class="env">$SBCL_HOME</span></samp><span class="file">/sbclrc</span></samp>, or if that doesn't exist to
<samp><span class="file">/etc/sbclrc</span></samp>. Can be overridden with the command line option
<code>--sysinit</code> or <code>--no-sysinit</code>.

     <p>The system initialization file is intended for system administrators
and software packagers to configure locations of installed third party
modules, etc.

     <li><strong>User Initialization File</strong>

     <p>Defaults to <samp><samp><span class="env">$HOME</span></samp><span class="file">/.sbclrc</span></samp>. Can be overridden with the
command line option <code>--userinit</code> or <code>--no-userinit</code>.

     <p>The user initialization file is intended for personal customizations,
such as loading certain modules at startup, defining convenience
functions to use in the REPL, handling automatic recompilation
of FASLs (see <a href="FASL-Format.html#FASL-Format">FASL Format</a>), etc.

   </ul>

   <p>Neither initialization file is required.

   </body></html>