I have started the LFS project recently and I had the following error while building the first pass of the binutils package in chapter 5.4.
I get the error while using it with the time command. It works fine when I configure and make it in separate instances.
I'd like to know why I was not able to build it this way.
Also, I wasn't able to get the case command to work.
Kindly help as soon as possible I'm held up with this for so long and can't figure it out.
Code:
lfs:/mnt/lfs/sources/binutils-2.29$ time { ./configure --prefix=/tools --with-sysroot=$LFS --with-lib-path=/tools/lib --target=$LFS_TGT --disable-nls --disable-werror && make && make install;;}
bash: syntax error near unexpected token `;;'
lfs:/mnt/lfs/sources/binutils-2.29/build$ time{../configure --prefix=/tools --with-sysroot=$LFS --with-lib-path=/tools/lib --target=$LFS_TGT --disable-nls --disable-werror }
bash: time{../configure: No such file or directory
lfs:/mnt/lfs/sources/binutils-2.29/build$ cd ..
lfs:/mnt/lfs/sources/binutils-2.29$ ls
COPYING README config.guess elfcpp libiberty md5.sum texinfo
COPYING.LIB README-maintainer-mode config.log etc libtool.m4 missing ylwrap
COPYING3 bfd config.rpath gas ltgcc.m4 mkdep zlib
COPYING3.LIB binutils config.sub gold ltmain.sh mkinstalldirs
ChangeLog build configure gprof ltoptions.m4 move-if-change
MAINTAINERS compile configure.ac include ltsugar.m4 opcodes
Makefile.def confdefs.h conftest.adb install-sh ltversion.m4 setup.com
Makefile.in config cpu intl lt~obsolete.m4 src-release.sh
Makefile.tpl config-ml.in depcomp ld makefile.vms symlink-tree
lfs:/mnt/lfs/sources/binutils-2.29$ time{./configure --prefix=/tools --with-sysroot=$LFS --with-lib-path=/tools/lib --target=$LFS_TGT --disable-nls --disable-werror }
bash: time{./configure: No such file or directory
lfs:/mnt/lfs/sources/binutils-2.29$ time{ ./configure --prefix=/tools --with-sysroot=$LFS --with-lib-path=/tools/lib --target=$LFS_TGT --disable-nls --disable-werror && make && make install}
bash: time{: command not found
lfs:/mnt/lfs/sources/binutils-2.29/build$ case$(uname -m) in x86_64) mkdir -v /tools/lib && ln -sv lib /tools/lib64
bash: syntax error near unexpected token `)'