It's always a good idea to tell what your environment is and copy and
paste *exactly* the commands you ran (not their output, except
errors), rather than a vague description, so that people can attempt
to duplicate the problem -- or spot an obvious mistake.
These things do usually work. If it doesn't it's most likely your mistake.
Did you check you have the necessary prerequisites installed? e.g.
autoconf automake autotools-dev curl libmpc-dev libmpfr-dev libgmp-dev
gawk build-essential bison flex texinfo gperf libtool patchutils bc
zlib1g-dev libexpat-dev
I just ran exactly these commands and it worked fine on Ubuntu 16.04.3 LTS.
git clone --recursive
https://github.com/riscv/riscv-gnu-toolchain
mkdir install
cd riscv-gnu-toolchain
./configure --prefix=`pwd`/../install
make
Note that the install directory must be writable, as there is no
separate "make install" step.
On Wed, Feb 6, 2019 at 12:30 AM <
mahsoom...@gmail.com> wrote:
>
> I cloned the toolchain repository and also ran submodule update --init --recursive. When I ran the make command. I got an error saying configure file was not found in binutils. I checked the folder and found that the binutils folder was empty. I ran submodule update again with the same result.
>
> I then went to the GitHub page and found the submodule was blacked out and that I cannot open the submodule. Any idea what's happening here?
>
> --
> You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
sw-dev+un...@groups.riscv.org.
> To post to this group, send email to
sw-...@groups.riscv.org.
> Visit this group at
https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
> To view this discussion on the web visit
https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/1b3950f9-064a-4745-85b7-8d13e2024971%40groups.riscv.org.