Ah, I still had a ghdl version installed on my system and some errors were hidden: When just making the target libs.vhdl.standard I get this error:
[adrien] > make GHDL=/home/adrien/Dev/AUR/ghdl-gcc-git/pkg/ghdl-gcc-git/usr/bin/ghdl libs.vhdl.standard cd lib/ghdl/v93/std; \ /home/adrien/Dev/AUR/ghdl-gcc-git/pkg/ghdl-gcc-git/usr/bin/ghdl --bootstrap-standard --std=93 /home/adrien/Dev/AUR/ghdl-gcc-git/pkg/ghdl-gcc-git/usr/bin/ghdl: installation problem: lib/gcc/x86_64-unknown-linux-gnu/4.9.3/ghdl1 not found make: *** [Makefile:351: lib/ghdl/v93/std/std_standard.o] Error 1 I'll find a workaround for that, force my GHDL path for this target, and report the result. Adrien On Sat, 2016-11-19 at 22:08 +0100, Adrien Prost-Boucle wrote: > On Sat, 2016-11-19 at 17:53 +0100, Tristan Gingold wrote: > > OTOH, ghdl is expected to be location neutral, so it could be > > configured to be installed in one directory but really installed > > in another. > > I thought so, so I did the ghdl fake-install with > make DESTDIR="${pkgdir}" install > and used the ghdl "installed" there to launch build of libs with > make GHDL="${pkgdir}/usr/bin/ghdl" vhdl.libs.all libs.vhdl.standard > (command line taken from inside Makefile, to set my own path to ghdl) > > And compilation of libs does launch, but I get these errors: > > /home/adrien/Dev/AUR/ghdl-gcc-git/pkg/ghdl-gcc-git/usr/bin/ghdl -a --std=87 > -P../std --work=ieee ../../src/ieee/std_logic_1164.v87 > /home/adrien/Dev/AUR/ghdl-gcc-git/pkg/ghdl-gcc-git/usr/bin/ghdl:warning: > library std does not exists for v87 > /home/adrien/Dev/AUR/ghdl-gcc-git/pkg/ghdl-gcc-git/usr/bin/ghdl:warning: > library ieee does not exists for v87 > /home/adrien/Dev/AUR/ghdl-gcc-git/pkg/ghdl-gcc-git/usr/bin/ghdl -a --std=87 > -P../std --work=ieee ../../src/ieee/std_logic_1164_body.v87 > /home/adrien/Dev/AUR/ghdl-gcc-git/pkg/ghdl-gcc-git/usr/bin/ghdl:warning: > library std does not exists for v87 > /home/adrien/Dev/AUR/ghdl-gcc-git/pkg/ghdl-gcc-git/usr/bin/ghdl:warning: > library ieee does not exists for v87 > /home/adrien/Dev/AUR/ghdl-gcc-git/pkg/ghdl-gcc-git/usr/bin/ghdl -a --std=87 > -P../std --work=ieee ../../src/ieee/numeric_bit.v87 > /home/adrien/Dev/AUR/ghdl-gcc-git/pkg/ghdl-gcc-git/usr/bin/ghdl:warning: > library std does not exists for v87 > /home/adrien/Dev/AUR/ghdl-gcc-git/pkg/ghdl-gcc-git/usr/bin/ghdl:warning: > library ieee does not exists for v87 > ... > > I don't understand the error and don't know how to solve it... > > Adrien > > > _______________________________________________ > Ghdl-discuss mailing list > Ghdl-discuss@gna.org > https://mail.gna.org/listinfo/ghdl-discuss _______________________________________________ Ghdl-discuss mailing list Ghdl-discuss@gna.org https://mail.gna.org/listinfo/ghdl-discuss