<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.eiffelroom.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>eiffelroom - How to compile examples using EiffelStudio - Comments</title>
 <link>http://www.eiffelroom.com/article/how_to_compile_examples_using_eiffelstudio</link>
 <description>Comments for &quot;How to compile examples using EiffelStudio&quot;</description>
 <language>en</language>
<item>
 <title>How to compile examples using EiffelStudio</title>
 <link>http://www.eiffelroom.com/article/how_to_compile_examples_using_eiffelstudio</link>
 <description>&lt;p&gt;Most of the examples and tutorials you will find here come with an archive containing the source code and the files required to compile the code. Here you will find the information required to use the examples together with &lt;a class=&quot;&quot; style=&quot;&quot; href=&quot;/locate/EiffelStudio&quot;&gt;EiffelStudio&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&amp;lt;!--break--&amp;gt;&lt;/p&gt;


&lt;h2 id=&quot;toc0&quot;&gt;Obtaining the Example&lt;/h2&gt;
&lt;p&gt;When you want to compile an example, first download the archive and extract it on your computer. You can choose between a &lt;em&gt;zip&lt;/em&gt; or &lt;em&gt;tar.gz&lt;/em&gt; archive, both contain the same files.&lt;/p&gt;


&lt;h2 id=&quot;toc1&quot;&gt;File types explained&lt;/h2&gt;
&lt;p&gt;A typical example is shipped with multiple files:&lt;/p&gt;

&lt;ul&gt;
    &lt;li&gt; &lt;em&gt;.e&lt;/em&gt; files: The Eiffel source code.&lt;/li&gt;
    &lt;li&gt; &lt;em&gt;.ecf&lt;/em&gt; file: Configuration file for &lt;a class=&quot;&quot; style=&quot;&quot; href=&quot;/locate/EiffelStudio&quot;&gt;EiffelStudio&lt;/a&gt;. Use this to compile the example with EiffelStudio.&lt;/li&gt;
&lt;/ul&gt;


&lt;h2 id=&quot;toc2&quot;&gt;EiffelStudio IDE&lt;/h2&gt;
&lt;p&gt;When you want to use &lt;a class=&quot;&quot; style=&quot;&quot; href=&quot;/locate/EiffelStudio&quot;&gt;EiffelStudio&lt;/a&gt; to compile your program, open the example in &lt;em&gt;EiffelStudio&lt;/em&gt;. For that, either double-click on the &lt;em&gt;.ecf&lt;/em&gt; file in the archive (works only on Windows), or open &lt;em&gt;EiffelStudio&lt;/em&gt; and add a new project. When asked for the project configuration, select the &lt;em&gt;.ecf&lt;/em&gt; file from the example.&lt;/p&gt;


&lt;h2 id=&quot;toc3&quot;&gt;EiffelStudio Command line&lt;/h2&gt;
&lt;p&gt;If you want to compile in the command line, open the directory of the example in a console and type: &lt;pre class=&quot;geshifilter&quot;&gt;ec root_class.e&lt;/pre&gt; Replace &lt;em&gt;root_class.e&lt;/em&gt; with the name of the root class of the example.&lt;/p&gt;

&lt;p&gt;After the compilation is finished the executable is in the current directory.&lt;/p&gt;

</description>
 <comments>http://www.eiffelroom.com/article/how_to_compile_examples_using_eiffelstudio#comments</comments>
 <category domain="http://www.eiffelroom.com/taxonomy/term/3">Tutorial</category>
 <category domain="http://www.eiffelroom.com/taxonomy/term/7">Beginner</category>
 <category domain="http://www.eiffelroom.com/tag/compilation">compilation</category>
 <category domain="http://www.eiffelroom.com/tag/help">help</category>
 <pubDate>Fri, 09 Feb 2007 09:38:22 -0800</pubDate>
 <dc:creator>juliant</dc:creator>
 <guid isPermaLink="false">69 at http://www.eiffelroom.com</guid>
</item>
</channel>
</rss>
