Thanks a lot for these pointers. They certainly got me going in the right direction. When I finally for the glibc version of the toolchain I was able to build the hello-world app successfully. My understanding of scratchbox is improving little by little.
Thanks, Sean. -----Original Message----- From: scratchbox-users-boun...@lists.scratchbox.org [mailto:scratchbox-users-boun...@lists.scratchbox.org] On Behalf Of Jussi Hakala Sent: Wednesday, February 18, 2009 4:13 AM To: scratchbox-users@lists.scratchbox.org Subject: Re: [Scratchbox-users] I can't find theToolchain scratchbox-toolchain-arm-gcc3.3-glibc2.3 Eade, Sean (SCR US) wrote: > I have been trying to follow this tutorial, to use the scratchbox: > > http://www.scratchbox.org/documentation/user/scratchbox-1.0/html/install doc.html That tutorial maybe sadly a bit out of date. > But I can't find the toolchain > *scratchbox-toolchain-arm-gcc3.3-glibc2.3* > > I have looked everywhere but I just can't seem to locate it. > > Does anyone know where I can get it from? There are older releases available in the download section at scratchbox.org. Click on the old releases link on the apophis page to get packages from earlier revisions. The package you're after can be found in [1]. > I tried using the other one that is in the repository that supports > :uclib There's one old toolchain in the directory as well (and also in the current release directory). However, I think you should look in to the Codesourcery cs2008q3 uclinux version, for example, for a more recent uclibc toolchain [2]. To import it inside Scratchbox, see the wiki on foreign toolchain howto [3]. > But when I try to build the hello-world app I get the following > error: > > /checking whether the C compiler works... configure: error: cannot > run C compiled programs./ > > /If you meant to cross compile, use `--host'./ > > The correct toolchain will fix this, right? That may be a symptom of basically anything. Configure is barfing due to the fact that the test program it compiled and tried to run resulted in an exit code different from 0. Compile a simple hello world program in your target and see if you can run that one. If not, there's probably something wrong with your target configuration. Regards, Jussi [1] http://scratchbox.org/download/files/sbox-releases/branches/apophis/r1/d eb/ [2] http://www.codesourcery.com/sgpp/lite/arm/portal/release645 [3] http://scratchbox.org/wiki/ForeignToolchains _______________________________________________ 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