Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > bd5c3d824c3db63ffd9226c15941e6ad > files > 2242

mozart-1.4.0-1mdv2010.0.i586.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>2.3 Options for Output Files</TITLE><LINK href="ozdoc.css" rel="stylesheet" type="text/css"></HEAD><BODY><TABLE align="center" border="0" cellpadding="6" cellspacing="6" class="nav"><TR bgcolor="#DDDDDD"><TD><A href="node4.html#section.compiler.general">&lt;&lt; Prev</A></TD><TD><A href="node2.html">- Up -</A></TD><TD><A href="node6.html#section.compiler.state">Next &gt;&gt;</A></TD></TR></TABLE><DIV id="section.compiler.outputfiles"><H2><A name="section.compiler.outputfiles">2.3 Options for Output Files</A></H2><P></P><DL><DT><CODE>-o&nbsp;</CODE><I>FILE</I>, <CODE>--outputfile=</CODE><I>FILE</I></DT><DD><P>Write output to <I>FILE</I> (<CODE>-</CODE> for stdout). If this option is given, then a single input file may be given. Otherwise, an arbitrary number of input files can be processed.</P></DD><DT><CODE>--unix</CODE>, <CODE>--target=unix</CODE></DT><DD><P>When invoked with <CODE>-x</CODE>, produce Unix executables even if running under Windows.</P></DD><DT><CODE>--windows</CODE>, <CODE>--target=windows</CODE></DT><DD><P>When invoked with <CODE>-x</CODE>, produce Windows executables even if running under Unix.</P></DD><DT><CODE>--execheader=</CODE><I>STRING</I></DT><DD><P>When invoked with option <CODE>-x</CODE>, the compiler prepends a header to the output file so that it is interpreted as executable by the operating system. Under Unix, the default header is as follows: </P><BLOCKQUOTE class="code"><CODE>#<SPAN class="comment">!/bin/</SPAN><SPAN class="keyword">sh</SPAN><SPAN class="comment">&nbsp;<BR></SPAN><SPAN class="keyword">exec</SPAN>&nbsp;ozengine&nbsp;$<SPAN class="variablename">0</SPAN>&nbsp;<SPAN class="string">&quot;$@&quot;</SPAN></CODE></BLOCKQUOTE><P> The <CODE>--execheader</CODE> option allows you to specify a different header.</P></DD><DT><CODE>--execpath=</CODE><I>STRING</I></DT><DD><P>Uses the header given above in the description of <CODE>--execheader</CODE>, except that <CODE>ozengine</CODE> is replaced by <I>STRING</I>. </P></DD><DT><CODE>--execfile=</CODE><I>FILE</I></DT><DD><P>Reads in <I>FILE</I> and uses this as header. Under Windows, the default behaviour is to use the file provided in <I>ozhome</I><CODE>/bin/ozwrapper.bin</CODE>, where <I>ozhome</I> is Mozart's installation folder. <CODE>ozwrapper.bin</CODE> is a Windows executable that launches <CODE>ozengine</CODE>, i.&nbsp;e., a console application (CUI). </P></DD><DT><CODE>--execwrapper=</CODE><I>FILE</I></DT><DD><P>Reads in <I>ozhome</I><CODE>/bin/</CODE><I>FILE</I> and uses it as header for executable files. Apart from <CODE>ozwrapper.bin</CODE>, an <CODE>ozwrapperw.bin</CODE> is supplied that launches <CODE>ozenginew</CODE> instead of <CODE>ozengine</CODE>, i.&nbsp;e., a Windows application (GUI). This option provides a convenient way to use this alternative wrapper. </P></DD><DT><CODE>-z&nbsp;</CODE><I>N</I>, <CODE>--compress=</CODE><I>N</I></DT><DD><P>Pickles may be written in a compressed format. By default they are not compressed. <CODE>-z&nbsp;</CODE><I>N</I> selects the compression level: <I>N</I> is an integer between 0 (uncompressed) and 9 (maximum compression). Compressing a pickle may improve loading/downloading time.</P></DD></DL><P></P></DIV><TABLE align="center" border="0" cellpadding="6" cellspacing="6" class="nav"><TR bgcolor="#DDDDDD"><TD><A href="node4.html#section.compiler.general">&lt;&lt; Prev</A></TD><TD><A href="node2.html">- Up -</A></TD><TD><A href="node6.html#section.compiler.state">Next &gt;&gt;</A></TD></TR></TABLE><HR><ADDRESS><A href="http://www.ps.uni-sb.de/~duchier/">Denys&nbsp;Duchier</A>, <A href="http://www.ps.uni-sb.de/~kornstae/">Leif&nbsp;Kornstaedt</A> and&nbsp;<A href="http://www.ps.uni-sb.de/~schulte/">Christian&nbsp;Schulte</A><BR><SPAN class="version">Version 1.4.0 (20090610)</SPAN></ADDRESS></BODY></HTML>