<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Open source blog, linux, php, python, security &#187; eclipse</title>
	<atom:link href="http://www.alonon.net/tag/eclipse/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.alonon.net</link>
	<description></description>
	<lastBuildDate>Sat, 04 Feb 2012 07:23:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>

   <image>
    <title>Open source blog, linux, php, python, security</title>
    <url>http://0.gravatar.com/avatar/5152c5736f5f8dd9570ffb2f9068e8ab.png?s=48</url>
    <link>http://www.alonon.net</link>
   </image>
		<item>
		<title>Compile C C++ in linux</title>
		<link>http://www.alonon.net/compile_c_cplus_in_linux/</link>
		<comments>http://www.alonon.net/compile_c_cplus_in_linux/#comments</comments>
		<pubDate>Sun, 16 Nov 2008 22:32:15 +0000</pubDate>
		<dc:creator>ALonon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[CDT]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[pardus]]></category>

		<guid isPermaLink="false">http://www.alonon.net/?p=14</guid>
		<description><![CDATA[i have studied c++ for my exam today and i will explain how can you compile c/c++ in linux also there were some error that i want mention. 1.install eclipse (not necessary for compiling) probably you can find it from your package manager if there isn&#8217;t use this link: http://www.eclipse.org for pardus open pisi search &#8230; <a href="http://www.alonon.net/compile_c_cplus_in_linux/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>i have studied c++ for my exam today and i will explain how can you compile c/c++ in linux also there were some error that i want mention.</p>
<p>1.install eclipse (not necessary for compiling)<br />
probably you can find it from your package manager if there isn&#8217;t<br />
use this link: http://www.eclipse.org<br />
for pardus open pisi search for eclipse and install it ( 3.3)</p>
<p>2. install CDT plugin for eclipse<br />
open eclipse help -&gt; software updates -&gt; avilable softwares -&gt; add site<br />
for eclipse 3.4 add this:</p>
<p>http://download.eclipse.org/tools/cdt/releases/ganymede</p>
<p>for eclipse 3.3 add this:</p>
<p>http://download.eclipse.org/tools/cdt/releases/europa</p>
<p>check it and click install</p>
<p>you have eclipse CDT to write your c and c++ codes<br />
now you need gcc to compile it</p>
<p>3. install gcc<br />
find gcc from your package manager.<br />
for pardus write this to console<br />
sudo pisi it gcc</p>
<p>4. first simple<br />
i opened a new c++ project from eclipse, created new source file, writed my code and saved. when i am trying to make file,<br />
I received this message &#8220;(Exec error:Cannot run make)&#8221; .</p>
<p><strong>(solution: install make from your package manager.For pardus write this sudo pisi it make.)</strong></p>
<p>after that i tried it on console with giving this command</p>
<p>(for c++ codes)</p>
<blockquote><p>g++ example.cpp</p></blockquote>
<p>(for c codes)</p>
<blockquote><p>gcc example.c</p></blockquote>
<p>however, i received &#8220;iostream.h: No such file or directory gcc&#8221;<br />
<strong>solution: delete .h just write &lt;iostream&gt; also write g++ for *.cpp files<br />
</strong></p>
<p>after i installed make, i was able to compile it from console and eclipse.</p>
<p>if you want to see your code&#8217;s output:</p>
<blockquote><p>g++ example.cpp</p></blockquote>
<p>it makes a compiled file named example in your folder</p>
<p>to run it just write</p>
<blockquote><p>./example</p></blockquote>
<p>i hope , help you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alonon.net/compile_c_cplus_in_linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

