tansell@tansell-glaptop:~/github/PrincetonUniversity/openpiton$ source piton/ariane_setup.sh
----------------------------------------------------------------------
openpiton/ariane path setup
----------------------------------------------------------------------
make sure that you source this script in a bash shell in the root folder of OpenPiton
----------------------------------------------------------------------
setup complete. do not forget to run the following script
if you run the setup for the first time: ./piton/ariane_build_tools.sh
----------------------------------------------------------------------
tansell@tansell-glaptop:~/github/PrincetonUniversity/openpiton$ ./piton/ariane_build_tools.sh
----------------------------------------------------------------------
building RISCV toolchain and tests (if not existing)
----------------------------------------------------------------------
.....
g++-7 -L. -Wl,-rpath,/scratch/tansell/riscv_install/lib -o elf2hex elf2hex.o -lfesvr -lpthread
../scripts/mk-install-dirs.sh /scratch/tansell/riscv_install/include/fesvr
mkdir /scratch
mkdir: cannot create directory ‘/scratch’: Permission denied
mkdir /scratch/tansell
mkdir: cannot create directory ‘/scratch/tansell’: No such file or directory
mkdir /scratch/tansell/riscv_install
mkdir: cannot create directory ‘/scratch/tansell/riscv_install’: No such file or directory
mkdir /scratch/tansell/riscv_install/include
mkdir: cannot create directory ‘/scratch/tansell/riscv_install/include’: No such file or directory
mkdir /scratch/tansell/riscv_install/include/fesvr
mkdir: cannot create directory ‘/scratch/tansell/riscv_install/include/fesvr’: No such file or directory
Makefile:336: recipe for target 'install-hdrs' failed
make: *** [install-hdrs] Error 1