Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't do make for no configure files at /riscv-gnu-toolchain/riscv-binutils/ #371

Closed
zidanemarks opened this issue Aug 30, 2018 · 2 comments

Comments

@zidanemarks
Copy link

when pull the master code to:
commit 2ec3408 (HEAD -> master, origin/master, origin/HEAD)
i configure my makefile as this commnad:
../riscv-gnu-toolchain/configure --prefix=$RISCV --disable-linux --with-arch=rv32imac
and i encounter the issue as below:

**********************************************************************************************************************************cd build-binutils-newlib && CC_FOR_TARGET=riscv32-unknown-elf-gcc /home/project/build_rv32imac/../riscv-gnu-toolchain/riscv-binutils/configure
--target=riscv32-unknown-elf

--prefix=/opt/riscv

--disable-werror
--with-expat=yes
--disable-gdb
--disable-sim
--disable-libdecnumber
--disable-libreadline
/bin/sh: 1: /home/project/build_rv32imac/../riscv-gnu-toolchain/riscv-binutils/configure: not found
Makefile:375: recipe for target 'stamps/build-binutils-newlib' failed
make: *** [stamps/build-binutils-newlib] Error 127
root@shawntan-ThinkPad-T450s:/home/project/build_rv32imac# ../riscv-gnu-toolchain/configure --prefix=$RISCV --disable-linux --with-arch=rv32imac


i found there was no repository about /riscv-binutils/ whether my local or remote github
could you please help me solve this issue

@jim-wilson
Copy link
Collaborator

In the riscv-gnu-toolchain dir, do "git submodule update --init --recursive" after the git clone to get the submodule sources.

@zidanemarks
Copy link
Author

i'm very sorry. it's my fault to search the repository by the dir's name
both the riscv-binutils and riscv-gdb are share the same URL of https://github.com/riscv/riscv-binutils-gdb.git
thank you very much for your help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants