<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
  <title>Linux Format forums</title>
  <link>http://www.linuxformat.com/forums/index.php</link>
  <description>Help, discussion, magazine feedback and more</description>
  <language>english</language>
  <copyright>(c) Copyright Tue May 21, 2013 7:30 pm by Linux Format forums</copyright>
  <managingEditor>webmaster@linuxformat.com</managingEditor>
  <webMaster>webmaster@linuxformat.com</webMaster>
  <pubDate>Tue May 21, 2013 7:30 pm</pubDate>
  <lastBuildDate>Tue May 21, 2013 7:30 pm</lastBuildDate>
  <docs>http://backend.userland.com/rss</docs>
  <generator>phpBB2 RSS Syndication Mod by Lucas</generator>
  <ttl>1</ttl>

  <image>
    <title>Linux Format forums</title>
    <url></url>
    <link>http://www.linuxformat.com/forums/</link>
    <description>Help, discussion, magazine feedback and more</description>
  </image>

                                      <item>
                                        <title>Re: SOLVED: &amp;quot;Hello World!&amp;quot; - So, what next...?</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=25963#25963</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=5530'&gt;GMorgan&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Fri Jun 23, 2006 10:01 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      I like Kdevelop since it can be used for every language under the sun. If in future you decide to learn a scripting language like Python and combine it with C++ (i.e. C++ for the backend and Python for the GUI for quick interface turnover) it can be done using the same tool. Not to mention that its plugin architecture allows you to run things like QT Designer within the project and even import QT UI files directly into a C++ project.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=25963#25963</comments>
                                        <author>GMorgan</author>
                                        <pubDate>Fri Jun 23, 2006 10:01 am</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=25963#25963</guid>
                                      </item>
                                      <item>
                                        <title>Re: SOLVED: &amp;quot;Hello World!&amp;quot; - So, what next...?</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=25945#25945</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=127'&gt;alloydog&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Thu Jun 22, 2006 8:44 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Kdevelope works fine - once you start a new project...&lt;br /&gt;
&lt;br /&gt;
well which methed should I use?&lt;br /&gt;
&lt;br /&gt;
GEdit + command line compiling =&amp;gt; walking&lt;br /&gt;
Xwpe =&amp;gt; riding a bicycle&lt;br /&gt;
KDevelope =&amp;gt; fully equipped motorhome, including the kitchen sink...&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;images/smiles/icon_smile.gif&quot; alt=&quot;Smile&quot; border=&quot;0&quot; /&gt;</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=25945#25945</comments>
                                        <author>alloydog</author>
                                        <pubDate>Thu Jun 22, 2006 8:44 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=25945#25945</guid>
                                      </item>
                                      <item>
                                        <title>Re: SOLVED: &amp;quot;Hello World!&amp;quot; - So, what next...?</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=25921#25921</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=127'&gt;alloydog&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Jun 21, 2006 8:57 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Thanks, I'm checking that out now.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=25921#25921</comments>
                                        <author>alloydog</author>
                                        <pubDate>Wed Jun 21, 2006 8:57 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=25921#25921</guid>
                                      </item>
                                      <item>
                                        <title>Re: SOLVED: &amp;quot;Hello World!&amp;quot; - So, what next...?</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=25919#25919</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=5530'&gt;GMorgan&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Jun 21, 2006 7:47 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      With Kdevelop what do you mean it didn't compile. Do you mean there was no compile option or that it did have a compile option but it didn't work. To get Kdevelop to work properly you need to create a project. Create a simple hello world C++ project and you can then compile via the three buttons above the text editor and at the leftmost corner.&lt;br /&gt;
&lt;br /&gt;
If you are seriously having problems with it post the console output and we can try and fix it.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=25919#25919</comments>
                                        <author>GMorgan</author>
                                        <pubDate>Wed Jun 21, 2006 7:47 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=25919#25919</guid>
                                      </item>
                                      <item>
                                        <title>Re: SOLVED: &amp;quot;Hello World!&amp;quot; - So, what next...?</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=25916#25916</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=7963'&gt;penguintutor&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Jun 21, 2006 5:48 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      The 80386 was a full 32 bit processor, which became known as the 80386DX when the SX was released.&lt;br /&gt;
&lt;br /&gt;
The 80386SX was internally a 32 bit processor, but had only a 16bit external bus.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=25916#25916</comments>
                                        <author>penguintutor</author>
                                        <pubDate>Wed Jun 21, 2006 5:48 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=25916#25916</guid>
                                      </item>
                                      <item>
                                        <title>Re: SOLVED: &amp;quot;Hello World!&amp;quot; - So, what next...?</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=25915#25915</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=127'&gt;alloydog&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Jun 21, 2006 5:28 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      just typing &lt;span style=&quot;font-weight: bold&quot;&gt;helloworld.e&lt;/span&gt; at the command line worked fine.  The problem was between the chair and the keyboard...&lt;br /&gt;
&lt;br /&gt;
I was expecting &lt;span style=&quot;font-style: italic&quot;&gt;helloworld.bin&lt;/span&gt;, so was 'confused' a bit by the &lt;span style=&quot;font-style: italic&quot;&gt;.e&lt;/span&gt; extention.&lt;br /&gt;
&lt;br /&gt;
I didn't know about the &lt;span style=&quot;font-weight: bold&quot;&gt;file&lt;/span&gt; command though.&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;# file helloworld.e&lt;br /&gt;
helloworld.e&amp;#58; ELF 32-bit LSB executable, Intel 80386, version 1 &amp;#40;SYSV&amp;#41;, for GNU/Linux 2.2.0, dynamically linked &amp;#40;uses shared libs&amp;#41;, not stripped&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
Interesting bit: &lt;span style=&quot;font-style: italic&quot;&gt;32-bit LSB executable, Intel 80386&lt;/span&gt; - I thought the 386 was 16-bit?</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=25915#25915</comments>
                                        <author>alloydog</author>
                                        <pubDate>Wed Jun 21, 2006 5:28 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=25915#25915</guid>
                                      </item>
                                      <item>
                                        <title>Re: SOLVED: &amp;quot;Hello World!&amp;quot; - So, what next...?</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=25910#25910</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=7963'&gt;penguintutor&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Jun 21, 2006 4:12 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      I am not familiar with Xwpe, which appears to have discontinued development, and is lacking in documentation. Here is some generic info that might help.&lt;br /&gt;
&lt;br /&gt;
On unix the file extension is not used to determine whether something is executable or not. Instead the first few bytes of the file are examined to see if it is a program.  So the extension doesn't matter. For some formats the normal conventions are used, but for executables normally they are created without any extension so that you just run using the name of the command (without needing to add .exe or .bin on the end).&lt;br /&gt;
&lt;br /&gt;
The .o file is an object file, but I'm not sure about a .e file. &lt;br /&gt;
you can see if the operating system recognises the file using:&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;&lt;br /&gt;
file helloworld.e&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
which may give an idea of what the file is.&lt;br /&gt;
&lt;br /&gt;
Has the program been linked? Without documentation I don't know how that is done, maybe it works with the standard linker?&lt;br /&gt;
&lt;br /&gt;
If it has actually created a binary executable, then you may just need to change it's permissions&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;&lt;br /&gt;
chmod u+x &amp;#91;i&amp;#93;filename&amp;#91;/i&amp;#93;&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=25910#25910</comments>
                                        <author>penguintutor</author>
                                        <pubDate>Wed Jun 21, 2006 4:12 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=25910#25910</guid>
                                      </item>
                                      <item>
                                        <title>SOLVED: &amp;quot;Hello World!&amp;quot; - So, what next...?</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=25893#25893</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=127'&gt;alloydog&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Jun 21, 2006 5:03 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      For some reason KDevelop wouldn't compile the &quot;Hello World!&quot; script, so while I get around to fixing it, I installed &lt;a href=&quot;http://www.identicalsoftware.com/xwpe/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot; class=&quot;postlink&quot;&gt;&lt;span style=&quot;font-weight: bold&quot;&gt;&lt;span style=&quot;text-decoration: underline&quot;&gt;Xwpe&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
I wrote the obligatory &quot;Hello world&quot; script, and in &lt;span style=&quot;font-weight: bold&quot;&gt;Xwpe&lt;/span&gt;, it compiled OK and ran OK.&lt;br /&gt;
&lt;br /&gt;
Now...  the last time I tried learning C++, I used a give-away copy of Borland's C++ Builder/TurboC++ version 1 (hence the familiarity with Xwpe) under Windows 98 and NT.&lt;br /&gt;
&lt;br /&gt;
When I complied the script, I got a nice executable file &lt;span style=&quot;font-weight: bold&quot;&gt;helloworld.exe&lt;/span&gt;.&lt;br /&gt;
&lt;br /&gt;
Now I'm using this Linuxy thing, I get &lt;span style=&quot;font-weight: bold&quot;&gt;helloworld.o&lt;/span&gt; and &lt;span style=&quot;font-weight: bold&quot;&gt;helloworld.e&lt;/span&gt;.&lt;br /&gt;
&lt;br /&gt;
I thought the Unix/Linux equivilent of the &lt;span style=&quot;font-weight: bold&quot;&gt;.exe&lt;/span&gt; was a &lt;span style=&quot;font-weight: bold&quot;&gt;.bin&lt;/span&gt; file?&lt;br /&gt;
What do I need to get &lt;span style=&quot;font-style: italic&quot;&gt;Hello World&lt;/span&gt; to print out at the command line, as it would under DOS with the executable?&lt;br /&gt;
&lt;br /&gt;
----edit------&lt;br /&gt;
Solved!&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;# helloworld.e&lt;br /&gt;
# Hello World!&lt;br /&gt;
#&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
simple really  &lt;img src=&quot;images/smiles/icon_redface.gif&quot; alt=&quot;Embarassed&quot; border=&quot;0&quot; /&gt;</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=25893#25893</comments>
                                        <author>alloydog</author>
                                        <pubDate>Wed Jun 21, 2006 5:03 am</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=25893#25893</guid>
                                      </item></channel></rss>