I’m trying to use a different compiler, gcc9, and I’m using WSL on windows.
I have my local/make set to:
TBB_CXX_TYPE=gcc
CXX=/home/andre/stan-dev/misc/9
STAN_THREADS=true
I’m still getting “permission denied”. I’ve tried copying the gcc9 directory in other places and modifying permissions using chmod in a variety of different ways. Also tried running made as sudo which is not recommended but still same error which is strange.
Any suggestions? I’ll probably figure it out soon. Probably something silly.
EDIT:
Set gcc to clang++ and it compiles and runs and tests fine.
Let me take a closer look at the default makefiles. Or did I do something stupid like not add and push my makefile? Not sure.