[maemo-users] anyone trying Go language?
From: Francisco Diaz Trepat - gmail francisco.diaztrepat at gmail.comDate: Tue Jun 22 00:47:24 EEST 2010
- Previous message: anyone trying Go language?
- Next message: compiling go language (too much?)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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. I had to resend this message because of the language of my 5.out output (in case you see 2 of this). 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 @#%$#, 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ämäläinen <kimmo.hamalainen at nokia.com> > On Mon, 2010-06-21 at 11:01 +0200, ext Andrew Flegg wrote: > > 2010/6/21 Kimmo Hämäläinen <kimmo.hamalainen at nokia.com>: > > > 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 > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.maemo.org/pipermail/maemo-users/attachments/20100621/960e3f97/attachment.htm>
- Previous message: anyone trying Go language?
- Next message: compiling go language (too much?)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]