[Scratchbox-users] Scratchbox on 64-bit environment
Jakov
giaodichdientu at gmail.com
Sat Dec 29 11:54:28 EET 2007
Thanks to Lauri Leukkunen, I've installed SB2 successfully! Just a
note for someone just begin like me: You'd set the default target for sb2. Do
this:
$ sb2-confiig -l
to list all targets available on this computer.
for me, I continue: $ sb2-config -d maemo
Don't know how to set the name, because after that, I run sb2 then it shows:
[SB2 maemo] I have no name!@jakov /etch_root/data/test $
OK. The next reason I contact here is that I have a small problem with
compiling a simple example to test if sb2 works well.
$ sb2 gcc -o hello hello.c
with hello.c is the simple example given on
http://www.freedesktop.org/wiki/Software/sbox2/Maemo
I got an error:
]$ sb2 gcc -o hello hello.c
/bin/sh: gcc: command not found
although I have gcc installed, g++, ... anything related to gcc: let's see
$ whereis gcc
gcc: /usr/bin/gcc /usr/lib/gcc /usr/libexec/gcc /usr/share/man/man1/gcc.1.gz
$ which gcc
/usr/bin/gcc
I tried : $ sb2 /usr/bin/gcc -o /data/test/hello /data/test/hello.c
but only get error:
arm-linux-gcc: /data/test/hello.c: No such file or directory
arm-linux-gcc: no input files
Please tell me what is wrong with sb2 / gcc / arm-linux-gcc?
Thanks very much!
Best regards,
Jakov
More information about the Scratchbox-users
mailing list