On 7/5/07, George Boudreau <[EMAIL PROTECTED]> wrote:
> David Burgess wrote:
> > In section "5.5.1. Installation of Cross Binutils" I'm gettting an
> > error with the "make" command. I've printed the output here:
> >
> > $ make
> > make[1]: Entering directory `/home/clfs/binutils-build'
> > Configuring in ./bfd
> > configure: loading cache ./config.cache
> > checking build system type... x86_64-cross-linux-gnu
> > checking host system type... x86_64-cross-linux-gnu
> > checking target system type... Invalid configuration
> > `{i586-pc-linux-gnu}': machine `{i586-pc' not recognized
> > configure: error: /bin/sh ../../binutils-2.17/bfd/../config.sub
> > {i586-pc-linux-gnu} failed
> > make[1]: *** [configure-bfd] Error 1
> > make[1]: Leaving directory `/home/clfs/binutils-build'
> > make: *** [all] Error 2
> >
> > I'm trying to build for a 586 system using a x86_64 host. Here is my
> > .bashrc file
> >
> > $ cat ../.bashrc
> > set +h
> > umask 022
> > CLFS=/mnt/clfs
> > LC_ALL=POSIX
> > PATH=/cross-tools/bin:/bin:/usr/bin
> > export CLFS LC_ALL PATH
> > unset CFLAGS
> > unset CXXFLAGS
> > export CLFS_HOST="x86_64-cross-linux-gnu"
> > export CLFS_TARGET="{i586-pc-linux-gnu}"
>
>    try this:
>    export CLFS_TARGET="i586-pc-linux-gnu"

Thanks for the suggestion. I tried that, and also changed
"{i586-pc-linux-gnu}" to "i586-pc-linux-gnu" in my .bashrc file. This
proved to be a fix for my problem.

For the record, when I repeated only "make" I got the same error until
I went back and repeated the other preps in the same section.

db
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support

Reply via email to