Closed ghost closed 7 years ago
Using CC=gcc-4.8 CXX=g++-4.8 ./build-rv32ima.sh
:
Starting RISC-V Toolchain build process
Removing existing riscv-fesvr/build directory
Configuring project riscv-fesvr
configure: error: in `/Volumes/Macintosh HD/Users/alex_mech/work/riscv/riscv-tools/riscv-fesvr/build':
configure: error: C compiler cannot create executables
See `config.log' for more details
Using simple ./build-rv32ima.sh
grants this error
These issues seem separate.
For the first issue what if you add
#include <stdlib.h>
to the top of tsi.cc?
@colinschmidt I've just clarified issue conditions.
When adding #include <stdlib.h>
, the error in riscv-isa-sim following:
Building project riscv-isa-sim
clang: error: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated
So fesvr error is gone, can we continue in this thread or I shall open another in isa-sim project?
Have macOS Sierra 10.12.1 official. On priv-1.9 branch of riscv-tools Getting this error:
Output for
gcc -v
: