On Tue, Oct 27, 2015 at 9:33 AM, William Harrington <[email protected]> wrote:
> On Tue, October 27, 2015 04:08, Ken Moffat wrote: > > On Mon, Oct 26, 2015 at 10:23:27PM -0400, Michael Havens wrote: > > configure:3655: checking for suffix of object files > > configure:3677: /mnt/lfs/sources/gcc-build/./gcc/xgcc > > -B/mnt/lfs/sources/gcc-build/./gcc/ > > -B/tools/x86_64-lfs-linux-gnu/bin/ > > -B/tools/x86_64-lfs-linux-gnu/lib/ -isystem > > /tools/x86_64-lfs-linux-gnu/include -isystem > > /tools/x86_64-lfs-linux-gnu/sys-include -c -g -O2 conftest.c >&5 > > /mnt/lfs/sources/gcc-build/./gcc/as: line 106: exec: --: invalid > > option > > exec: usage: exec [-cl] [-a name] [command [arguments ...]] > > [redirection ...] > > configure:3681: $? = 1 > > configure: failed program was: > > | /* confdefs.h */ > > | #define PACKAGE_NAME "GNU C Runtime Library" > > | #define PACKAGE_TARNAME "libgcc" > > | #define PACKAGE_VERSION "1.0" > > | #define PACKAGE_STRING "GNU C Runtime Library 1.0" > > | #define PACKAGE_BUGREPORT "" > > | #define PACKAGE_URL "http://www.gnu.org/software/libgcc/" > > | /* end confdefs.h. */ > > | > > | int > > | main () > > | { > > | > > | ; > > | return 0; > > | } > > configure:3695: error: in > > `/mnt/lfs/sources/gcc-build/x86_64-lfs-linux-gnu/libgcc': > > configure:3698: error: cannot compute suffix of object files: cannot > > compile > > See `config.log' for more details. > > The error is because of 'as': /mnt/lfs/sources/gcc-build/./gcc/as: line > 106: exec: --: invalid option. > > This is probably because of using dash instead of bash or some other shell. > > Verify at > http://www.linuxfromscratch.org/lfs/view/stable/prologue/hostreqs.html > > Whenever you change a setting on the host, when testing host system > requirements, and fix the shell link to bash, you HAVE to remove the > binutils build and source directories and start from scratch. > > > http://lists.linuxfromscratch.org/pipermail/lfs-support/2015-April/048637.html > > http://www.linuxquestions.org/questions/linux-from-scratch-13/lfs-7-6-chp-5-51-gcc-configure-error-cannot-compute-suffix-of-object-files-4175535347/ > https://www.mail-archive.com/[email protected]/msg01779.html > > Sincerely, > > William Harrington > > > -- > http://lists.linuxfromscratch.org/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/blfs/faq.html > Unsubscribe: See the above information page > > Do not top post on this list. > > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > A: Top-posting. > Q: What is the most annoying thing in e-mail? > > http://en.wikipedia.org/wiki/Posting_style > How close is this thread to making history for length?
-- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
