On Thu, April 2, 2015 19:45, rail shafigulin wrote: > /mnt/lfs/sources/gcc-build/./gcc/as: line 106: exec: --: invalid option > exec: usage: exec [-cl] [-a name] [command [arguments ...]] [redirection > ...] > configure:3606: $? = 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:3620: error: in > `/mnt/lfs/sources/gcc-build/x86_64-lfs-linux-gnu/libgcc': > configure:3623: error: cannot compute suffix of object files: cannot > compile > See `config.log' for more details.
Hello, /mnt/lfs/sources/gcc-build/./gcc/as: line 106: exec: --: invalid option I think this was the result of building the pass1 of binutils with dash. I can't be too sure, but if you changed the sh link after binutils pass1, while building gcc, then 'as' may give you issues. That's all I can think of. 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
