Why are you trying to run the gcc wrapper directly? And why are you
trying to execute gcc 4.3 when your toolchain's gcc is 4.1?
Try the following:
% gcc -Wall -g /scratchbox/packages/hello.c -o hello-arm
Also, it would be helpful to know the configuration of the target you're
attempting to do this, ie. the output of
% sb-conf sh
Please note that if you want to run any arm binaries, you'll also need
the cputransp devkit installed and selected for your target.
Regards,
Jussi
Ville Hyttinen wrote:
I installed the files
scratchbox-core-1.0.12-i386.tar.gz
<http://scratchbox.org/download/files/sbox-releases/stable/tarball/scratchbox-core-1.0.12-i386.tar.gz>
scratchbox-libs-1.0.12-i386.tar.gz
<http://scratchbox.org/download/files/sbox-releases/stable/tarball/scratchbox-libs-1.0.12-i386.tar.gz>
scratchbox-toolchain-arm-gcc4.1-uclibc20061004-1.0.4-i386.tar.gz
<http://www.scratchbox.org/download/files/sbox-releases/apophis/tarball/scratchbox-toolchain-arm-gcc4.1-uclibc20061004-1.0.4-i386.tar.gz>
I'm following the example in
http://www.scratchbox.org/documentation/docbook/tutorial.htm When I
try to compile the hello.c with command:
/scratchbox/compilers/bin/arm-linux-gcc-4.3 -Wall -o arm-hello
hello.c
I get an error message sb_gcc_wrapper
(/scratchbox/compilers/bin/arm-linux-gcc-4.3): unable to open
scratchbox.config
Can you help to resolve this problem?
Thanks in advance VH
------------------------------------------------------------------------
From: vhytti...@hotmail.com To:
scratchbox-users@lists.scratchbox.org Date: Mon, 19 Jan 2009 14:28:32
+0200 Subject: [Scratchbox-users] Installing Scratchbox
I'm following the instructions on web page
http://www.scratchbox.org/documentation/docbook/tutorial.html in
order to install scratchbox. The instructions are bit out of date and
I need help to figure out which files to download.
The instructions are as follows: "Scratchbox needs to be installed as
root:
cd /tmp/ wget
http://www.scratchbox.org/download/files/sbox-releases/
1.0/tarball/scratchbox-core-1.0.1-i386.tar.gz
wget http://www.scratchbox.org/download/files/sbox-releases/
1.0/tarball/scratchbox-libs-1.0.1-i386.tar.gz
wget http://www.scratchbox.org/download/files/sbox-releases/
1.0/tarball/scratchbox-toolchain-arm-gcc3.3-glibc2.3-1.0.1-i386.tar.gz
tar -xzf scratchbox-core-1.0.1-i386.tar.gz -C / tar -xzf
scratchbox-libs-1.0.1-i386.tar.gz -C / tar -xzf
scratchbox-toolchain-arm-gcc3.3-glibc2.3-1.0.1-i386.tar.gz
-C /
/scratchbox/run_me_first.sh"
From the scratchbox download page
http://scratchbox.org/download/files/sbox-releases/stable/tarball/ I
can find files: scratchbox-core-1.0.12-i386.tar.gz
<http://scratchbox.org/download/files/sbox-releases/stable/tarball/scratchbox-core-1.0.12-i386.tar.gz>
scratchbox-libs-1.0.12-i386.tar.gz
<http://scratchbox.org/download/files/sbox-releases/stable/tarball/scratchbox-libs-1.0.12-i386.tar.gz>
but not the file:
scratchbox-toolchain-arm-gcc3.3-glibc2.3-1.0.1-i386.tar.gz
Which file in the download page is equivalent to the above toolchain
file?
Br Ville
------------------------------------------------------------------------
tutustu Windows Liven™ muihinkin ominaisuuksiin. Windows Live™ on
paljon enemmän kuin pelkkä sähköposti Enemmän kuin pelkkiä viestejä
<http://www.microsoft.com/windows/windowslive/>
------------------------------------------------------------------------
tutustu Windows Liven™ muihinkin ominaisuuksiin. Windows Live™ on
paljon enemmän kuin pelkkä sähköposti Enemmän kuin pelkkiä viestejä
<http://www.microsoft.com/windows/windowslive/>
------------------------------------------------------------------------
Chattaa joukolla uudella Messenger betalla. Lisätietoja. Klikkaa!
<http://download.live.com/>
------------------------------------------------------------------------
_______________________________________________ Scratchbox-users
mailing list Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users