[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fwd: Re: [avr-libc-dev] compile error: /bin/sh: /home/patrick/Cross: No

From: Patrick Blanchard
Subject: [Fwd: Re: [avr-libc-dev] compile error: /bin/sh: /home/patrick/Cross: No such file or directory]
Date: Wed, 07 Sep 2005 15:25:35 -0500

Sorry, I sent this to eric and meant to send it to the dev list..it is
--- Begin Message --- Subject: Re: [avr-libc-dev] compile error: /bin/sh: /home/patrick/Cross: No such file or directory Date: Wed, 07 Sep 2005 14:28:27 -0500
I get the same error! Could it be the name of the folders?:

address@hidden Cross development tools]# ls
AVR  sample project layout
address@hidden Cross development tools]#

the build...
address@hidden build-tools]# tar -xf gcc*
address@hidden build-tools]# ls
binutils-2.16.1  gcc-3.4.4  gcc-3.4.4.tar
address@hidden build-tools]# cd gcc*
address@hidden gcc-3.4.4]# ls
ABOUT-NLS     config.if     COPYING      INSTALL       libjava
ltconfig            MD5SUMS         README.SCOboehm-gc      config-ml.in
COPYING.LIB  install-sh    libobjc       ltmain.sh           missing
symlink-treeBUGS          config.rpath  FAQ          intl          l

ibstdc++-v3  MAINTAINERS         mkdep           ylwrapbugs.html
config.sub    faq.html     LAST_UPDATED  libtool.m4    maintainer-
scripts  mkinstalldirs   zlibChangeLog     configure     fastjar
libf2c        ltcf-c.sh     Makefile.def        move-if-change
config        configure.in  gcc          libffi        ltcf-cxx.sh
Makefile.in         NEWS
config.guess  contrib       include      libiberty     ltcf-gcj.sh
Makefile.tpl        README
address@hidden gcc-3.4.4]# mkdir obj-avr
address@hidden gcc-3.4.4]# cd obj-avr
address@hidden obj-avr]# ../configure --prefix=$PREFIX --target=avr --
enable-languages=c,c++ --disable-nls
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... avr-unknown-none
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
../configure: line 846: test: too many arguments
*** This configuration is not supported in the following subdirectories:
     target-libiberty target-libstdc++-v3 target-libffi target-boehm-gc
target-zlib target-libjava target-libf2c zlib fastjar target-libobjc
    (Any other directories should still work fine.)
../config.if: line 26: test: too many arguments
checking for i686-pc-linux-gnu-ar... no
checking for ar... ar
checking for i686-pc-linux-gnu-as... no
checking for as... as
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... dlltool
checking for i686-pc-linux-gnu-ld... no
checking for ld... ld
checking for i686-pc-linux-gnu-nm... no
checking for nm... nm
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-windres... no
checking for windres... windres
checking for i686-pc-linux-gnu-objcopy... no
checking for objcopy... objcopy
checking for i686-pc-linux-gnu-objdump... no
checking for objdump... objdump
checking for avr-ar... no
checking for avr-as... no
checking for avr-dlltool... no
checking for avr-ld... no
checking for avr-nm... no
checking for avr-ranlib... no
checking for avr-windres... no
checking whether to enable maintainer-specific portions of Makefiles...
updating cache ./config.cache
creating ./config.status
creating Makefile
address@hidden obj-avr]# make
Configuring in intl
/bin/sh: /home/patrick/Cross: No such file or directory
make: *** [configure-intl] Error 1
address@hidden obj-avr]# ls
config.cache  config.log  config.status  intl  Makefile  maybedep.tmp
address@hidden obj-avr]# ../make
bash: ../make: No such file or directory
address@hidden obj-avr]#

On Wed, 2005-09-07 at 10:02 -0600, address@hidden wrote:
> Quoting Patrick Blanchard <address@hidden>:
> > Hello,
> >
> > Newbie to the avr-libc, and trying to install as follows...but receive
> > compile error for gcc. Any and all suggestions welcomed. binutils
> > installed w/o any problems.
> >
> > address@hidden Cross development tools]# ls
> > AVR  sample project layout
> > address@hidden Cross development tools]# cd AVR
> > address@hidden AVR]# ls
> > bootldr      code   doc     kernel   rootfs   tmp
> > build-tools  debug  images  project  sysapps  tools
> > address@hidden AVR]# cd build*
> > address@hidden build-tools]# ls
> > binutils-2.16.1  gcc-4.0.0  gcc-4.0.0.tar.gz
> > address@hidden build-tools]# cd gcc*
> > address@hidden gcc-4.0.0]# ls
> > ABOUT-NLS           COPYING       libffi              Makefile.def
> > boehm-gc            COPYING.LIB   libgfortran         Makefile.in
> > BUGS                depcomp       libiberty           Makefile.tpl
> > bugs.html           FAQ           libjava             MD5SUMS
> > ChangeLog           faq.html      libmudflap          missing
> > ChangeLog.tree-ssa  fastjar       libobjc             mkdep
> > compile             fixincludes   libstdc++-v3        mkinstalldirs
> > config              gcc           libtool.m4          move-if-change
> > config.guess        include       ltcf-c.sh           NEWS
> > config-ml.in        INSTALL       ltcf-cxx.sh         README
> > config.rpath        install-sh    ltcf-gcj.sh         README.SCO
> > config.sub          intl          ltconfig            symlink-tree
> > configure           LAST_UPDATED  ltmain.sh           ylwrap
> > configure.in        libada        MAINTAINERS         zlib
> > contrib             libcpp        maintainer-scripts
> > address@hidden gcc-4.0.0]# ./configure
> Halt right there.
> If you go to the GCC web site, they explicitly say NOT to build (and 
> configure)
> in the source directory.
> Go to the avr-libc documentation about installing the toolchain:
> <http://www.nongnu.org/avr-libc/user-manual/install_tools.html>
> and go down to the heading, "GCC for the AVR target". There, it gives you a
> build script and notice that configuration happens in the *build* directory,
> not in the *source* directory.
> So blow away your source directory and start over fresh, following the
> instructions in the avr-libc user manual.
> Eric Weddington
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]