Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > by-pkgid > 2fc07611b08d4a735fd34d5eb60d8e16 > files > 2135

ciao-1.10p8-3mdv2010.0.i586.rpm

<HTML>
<HEAD>
<!-- Created by texi2html 1.56k + clip patches and <A href="http://www.clip.dia.fi.upm.es/Software">lpdoc</A> from ciao.texi on 28 January 2007 -->

<LINK rel="stylesheet" href="ciao.css" type="text/css">
<TITLE>The Ciao Prolog System               - Find out which architecture we are running on</TITLE>
</HEAD>
<BODY> 
Go to the <A HREF="ciao_1.html">first</A>, <A HREF="ciao_184.html">previous</A>, <A HREF="ciao_186.html">next</A>, <A HREF="ciao_241.html">last</A> section, <A HREF="ciao_toc.html">table of contents</A>.
<P><HR><P>


<H1><A NAME="SEC743" HREF="ciao_toc.html#TOC743">Find out which architecture we are running on</A></H1>

<P>
<STRONG>Author(s):</STRONG> Manuel Carro, Robert Manchek.


<P>
<STRONG>Version:</STRONG> 0.0#6 (2001/3/26, 13:56:52 CEST)


<P>
The architecure and operating system the engine is compiled for determines whether we can use or not certain libraries. This script, taken from a PVM distribution, uses a heuristic (which may need to be tuned from time to time) to find out the platform. It returns a string which is used throughout the engine (in #ifdefs) to enable/disable certain characteristics. 



<UL>
<LI><A HREF="ciao_185.html#SEC744">Usage (ciao_get_arch)</A>
<LI><A HREF="ciao_185.html#SEC745">More details</A>
</UL>



<H2><A NAME="SEC744" HREF="ciao_toc.html#TOC744">Usage (ciao_get_arch)</A></H2>


<PRE>
   Usage: ciao_get_arch
</PRE>



<H2><A NAME="SEC745" HREF="ciao_toc.html#TOC745">More details</A></H2>

<P>
Look at the script itself... 


<P><HR><P>
Go to the <A HREF="ciao_1.html">first</A>, <A HREF="ciao_184.html">previous</A>, <A HREF="ciao_186.html">next</A>, <A HREF="ciao_241.html">last</A> section, <A HREF="ciao_toc.html">table of contents</A>.
</BODY>
</HTML>