Hi, maybe this is already known, but I had to do a couple of modifications to get ghdl-llvm compiled as the gcc version is 5.2 and llvm is 3.6
In the 'configure' script, I changed the test for llvm-config to llvm-config-3.5 This will be overwritten by a git reset --hard unless something is done with the configure script upstream. alternative is on the system level I created an update-alternative for llvm-config sudo update-alternatives --install /usr/bin/llvm-config llvm-config /usr/bin/llvm-config-3.5 31 sudo update-alternatives --install /usr/bin/llvm-config llvm-config /usr/bin/llvm-config-3.6 32 and then use sudo update-alternatives --config llvm-config to switch. Next is that my default gcc version is 5.2 and there will be a complaint about gnat1 is not present somewhere in the middle of the build phase. I simply fixed this by changing CC=gcc to CC=gcc-4.9 as I didn't bother to create an update-alternatives for gcc as it seems this link is set hard to gcc-5 by the package installer. I read a long debate on whether update-alternatives is something which should be used for this kind of redirection or not. Maybe Tristan could change the use of the with-llvm option from --with-llvm=/usr to --with-llvm=/usr/bin/llvm-config-3.5 to be able to specify explicit which llvm-config to be used. I don't know if gnat-5 can be used to compile ghdl. If I were to try, apt would deinstall gnat-4.9 on my machine, and I didn't want to do that as I was able to use gcc/gnat 4.9 and llvm 3.5 to build ghdl. -- Svenn _______________________________________________ Ghdl-discuss mailing list Ghdl-discuss@gna.org https://mail.gna.org/listinfo/ghdl-discuss