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"
>
> I have not modified the binutils-2.17 folder outside of what is
> outlined in the book. Can somebody point out what I might be doing
> wrong here, or whether something might have changed in this package
> since this section was written?
>
> db
> _______________________________________________
> Clfs-support mailing list
> [email protected]
> http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support
>
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support