riscv-software-src / homebrew-riscv

homebrew (macOS) packages for RISC-V toolchain
https://riscv.org
310 stars 50 forks source link

/bin/sh: /private/tmp/riscv-gcc-20171019-29012-12cjijs/build/../riscv-gcc/configure: No such file or directory #14

Closed JackieHanC closed 6 years ago

JackieHanC commented 7 years ago

when I run 'brew install riscv-tools', it shows that after 'make'. "Last 15 lines from /Users/jackie/Library/Logs/Homebrew/riscv-gcc/02.make: --enable-languages=c,c++ \ --with-system-zlib \ --with-newlib \ --disable-libmudflap \ --disable-libssp \ --disable-libquadmath \ --disable-libgomp \ --disable-nls \ --enable-checking=yes \ --disable-multilib \ --with-abi=lp64d \ --with-arch=rv64imafdc \ CFLAGS_FOR_TARGET="-Os -mcmodel=medlow" /bin/sh: /private/tmp/riscv-gcc-20171019-29012-12cjijs/build/../riscv-gcc/configure: No such file or directory make: *** [stamps/build-gcc-newlib-stage1] Error 127"

I don't know what's wrong, please help

JackieHanC commented 7 years ago

It may be a problem with macOS High Sierra.

sbeamer commented 6 years ago

Could you try building riscv-gcc directly (on High Sierra)? It is worth confirming that is possible before fixing Homebrew.

sbeamer commented 6 years ago

I believe I have fixed this issue with the latest set of commits to support High Sierra. @JackieHanC, please let me know if it works.

JackieHanC commented 6 years ago

Yeah, it works, thanks ! @sbeamer