Re: anyone trying Go language?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks that las thing worked fine (cp to /usr/bin).

First of all, sorry I forgot to add ./5.out to the list of thing I tried out "tried as root also _. 5.out_ chmod +x, etc."

Second should I build a make script or something of the sort that:
Compiles
Links
Copy to usr/bin/Gobuild (or something like that)


How are you guys handling this? Suggestions?

f(t)

PS: Output of success bellow.�

Now:
~/MyDocs/Workspace/Go/hello $ root�

BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)�
Enter 'help' for a list of built-in commands.�

Nokia-N900:~# cd /home/user/MyDocs/Workspace/Go/hello/�
Nokia-N900:/home/user/MyDocs/Workspace/Go/hello# ./5.out�
-sh: ./5.out: Permission denied�
Nokia-N900:/home/user/MyDocs/Workspace/Go/hello# chmod +x ./5.out�
Nokia-N900:/home/user/MyDocs/Workspace/Go/hello# ./5.out�
-sh: ./5.out: Permission denied�
Nokia-N900:/home/user/MyDocs/Workspace/Go/hello# cp 5.out /usr/bin/�
Nokia-N900:/home/user/MyDocs/Workspace/Go/hello# cd /usr/bin/�
Nokia-N900:/usr/bin# chmod +x 5.out�
Nokia-N900:/usr/bin# 5.out�
Hellow World, my N900 kicks ass, and I tell it with Go. Awesome!!!
Nokia-N900:/usr/bin# rm 5.out�
Nokia-N900:/usr/bin# 5.out�
-sh: 5.out: not found


2010/6/21 Kimmo H�l�en <kimmo.hamalainen@xxxxxxxxx>
On Mon, 2010-06-21 at 11:01 +0200, ext Andrew Flegg wrote:
> 2010/6/21 Kimmo H�l�en <kimmo.hamalainen@xxxxxxxxx>:
> > On Mon, 2010-06-21 at 08:30 +0200, ext Francisco Diaz Trepat - gmail
> > wrote:
> >> I couldn't execute the simple hello world program.
> >>
> >> Workspace/Go/hello $ ls
> >> 5.out � � hello.5 � hello.go
> >>
> >> ~/MyDocs/Workspace/Go/hello $ 5.out
> >> -sh: 5.out: not found
> >
> > "5.out" wasn't found from the PATH. Try "./5.out"
>
> And, since MyDocs by default is on VFAT, it's mounted noexec.

Good point, so "cp 5.out /usr/bin" as root and "chmod
+x /usr/bin/5.out"...

>
> HTH,
>
> Andrew
>


_______________________________________________
maemo-users mailing list
maemo-users@xxxxxxxxx
https://lists.maemo.org/mailman/listinfo/maemo-users

[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux