Alim, You have to bring in --host option and error will be gone. I used to have this problem and no body answered me. Let me know if error is gone or not.
Where did you get arm-linux-gcc-3.3_3.3.4-glibc-2.3.2.ds1? Why do you use host-gcc instead debian? ---henry > Message: 1 > Date: Wed, 29 Aug 2007 18:56:45 +0530 > From: "Alim Akhtar" <[EMAIL PROTECTED]> > Subject: [Scratchbox-users] Regarding the cross > compiling hello-world > test program > To: scratchbox-users@lists.scratchbox.org > Message-ID: > > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-1" > > Dear all, > > Today i installed successfully scratchbox-0.9.8.8 on > my FC-5 system, with no > warning no errors.I created my target successfuly, > which is a ARM based > board. > I tried to test by running the test application > which was there with this > package. > but to my surprised its looking for the gcc compiler > instead of arm-linux- > > [sbox-HOST: ~] > sbox-config --create-target > > Enter target name: alim-ARM > > Available compilers: > 0) arm-linux-gcc-3.3_3.3.4-glibc-2.3.2.ds1 > 1) host-gcc > > Enter compiler number: 0 > > Available CPU-transparency methods: > sbrsh > qemu-arm > qemu-ppc > > Enter method name (qemu-arm): qemu-arm > > Completed writing configuration to: > /targets/alim-ARM.config > > Below is what is got when i run ./autogen.sh > > -------------start--------------------- > [sbox-alim-ARM: > /scratchbox/users/alim/home/alim/hello-world] > > ./autogen.sh > + aclocal > /scratchbox/tools/share/aclocal/pkg.m4:5: warning: > underquoted definition of > PKG_CHECK_MODULES > run info '(automake)Extending aclocal' > or see > http://sources.redhat.com/automake/automake.html#Extending%20aclocal > + autoconf > + autoheader > + automake --add-missing --foreign > + ./configure > checking for a BSD-compatible install... > /scratchbox/tools/bin/install -c > checking whether build environment is sane... yes > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking for gcc... gcc > checking for C compiler default output file name... > configure: error: C > compiler cannot create executables > See `config.log' for more details. > [sbox-Alim-ARM: > /scratchbox/users/alim/home/alim/hello-world] > -------------------end--------------------------------------------- > > Can any one please tell me whats the problem. i > followed all the steps from > http://www.scratchbox.org/download/files/sbox-releases/0.9.8/doc/installdoc.html > > Will hearty appreciate your suggestions and help. > > Regards > Alim > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://lists.scratchbox.org/pipermail/scratchbox-users/attachments/20070829/f1c27846/attachment.html > > ------------------------------ > > Message: 2 > Date: Wed, 29 Aug 2007 15:41:45 +0200 > From: Mickael Istria <[EMAIL PROTECTED]> > Subject: Re: [Scratchbox-users] Regarding the cross > compiling > hello-world test program > To: scratchbox-users@lists.scratchbox.org > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > > Have you tried to compile your own simplest hello > world with a simple > "gcc kikoo.c", just to check if gcc succeeds to > build it? > Ensure your gcc is a good version with "gcc > --version" > > If it cannot run, but display the good version, > problem may come from > your qemu. Find an independent executable file > compiled for your > architecture, and verify if qemu can launch it. > > Any other issue may be a problem with libraries. > > > Try to compile a "main() { printf("kikoolol!"; }" > and you may get a more > detailed error. > (if it is a problem of libraries, use sb-menu > instead of sbox-config, it > wil advise you to install some files on your target) > > Mickael > > > ------------------------------ > > _______________________________________________ > Scratchbox-users mailing list > Scratchbox-users@lists.scratchbox.org > http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users > > > End of Scratchbox-users Digest, Vol 24, Issue 5 > *********************************************** > ____________________________________________________________________________________ Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online. http://smallbusiness.yahoo.com/webhosting _______________________________________________ Scratchbox-users mailing list Scratchbox-users@lists.scratchbox.org http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users