<meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Thanks that las thing worked fine (cp to /usr/bin).<div>
<br></div><div>First of all, sorry I forgot to add ./5.out to the list of thing I tried out &quot;<span style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">tried as root also _. 5.out_ chmod +x, etc.&quot;</span></div>
<div><span style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><br></span></div><div><span style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Second should I build a make script or something of the sort that:</span></div>
<div><span style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Compiles</span></div><div><font face="arial, sans-serif"><span style="border-collapse: collapse; ">Links</span></font></div><div>
Copy to usr/bin/Gobuild (or something like that)</div><div><br></div><div><br></div><div>How are you guys handling this? Suggestions?</div><div><br></div><div>f(t)</div><div><br></div><div>PS: Output of success bellow. I had to resend this message because of the language of my 5.out output (in case you see 2 of this).</div>
<div><br></div><div>Now:</div><div><span style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">~/MyDocs/Workspace/Go/hello $ root <br><br>BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash) <br>
Enter &#39;help&#39; for a list of built-in commands. <br><br>Nokia-N900:~# cd /home/user/MyDocs/Workspace/Go/hello/ <br>Nokia-N900:/home/user/MyDocs/Workspace/Go/hello# ./5.out <br>-sh: ./5.out: Permission denied <br>Nokia-N900:/home/user/MyDocs/Workspace/Go/hello# chmod +x ./5.out <br>
Nokia-N900:/home/user/MyDocs/Workspace/Go/hello# ./5.out <br>-sh: ./5.out: Permission denied <br>Nokia-N900:/home/user/MyDocs/Workspace/Go/hello# cp 5.out /usr/bin/ <br>Nokia-N900:/home/user/MyDocs/Workspace/Go/hello# cd /usr/bin/ <br>
Nokia-N900:/usr/bin# chmod +x 5.out <br>Nokia-N900:/usr/bin# 5.out </span></div><div><span style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Hellow World, my N900 kicks @#%$#, and I tell it with Go. Awesome!!!<br>
Nokia-N900:/usr/bin# rm 5.out <br>Nokia-N900:/usr/bin# 5.out <div class="im" style="color: rgb(80, 0, 80); "><br>-sh: 5.out: not found</div><div><br></div></span></div></span><br><div class="gmail_quote">2010/6/21 Kimmo Hämäläinen <span dir="ltr">&lt;<a href="mailto:kimmo.hamalainen@nokia.com">kimmo.hamalainen@nokia.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Mon, 2010-06-21 at 11:01 +0200, ext Andrew Flegg wrote:<br>
&gt; 2010/6/21 Kimmo Hämäläinen &lt;<a href="mailto:kimmo.hamalainen@nokia.com">kimmo.hamalainen@nokia.com</a>&gt;:<br>
&gt; &gt; On Mon, 2010-06-21 at 08:30 +0200, ext Francisco Diaz Trepat - gmail<br>
&gt; &gt; wrote:<br>
&gt; &gt;&gt; I couldn&#39;t execute the simple hello world program.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Workspace/Go/hello $ ls<br>
&gt; &gt;&gt; 5.out     hello.5   hello.go<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; ~/MyDocs/Workspace/Go/hello $ 5.out<br>
&gt; &gt;&gt; -sh: 5.out: not found<br>
&gt; &gt;<br>
&gt; &gt; &quot;5.out&quot; wasn&#39;t found from the PATH. Try &quot;./5.out&quot;<br>
&gt;<br>
&gt; And, since MyDocs by default is on VFAT, it&#39;s mounted noexec.<br>
<br>
</div>Good point, so &quot;cp 5.out /usr/bin&quot; as root and &quot;chmod<br>
+x /usr/bin/5.out&quot;...<br>
<br>
&gt;<br>
&gt; HTH,<br>
&gt;<br>
&gt; Andrew<br>
&gt;<br>
<br>
</blockquote></div><br>