On 19/11/16 15:15, Andrey Gursky wrote: [...]
Actually using already compiled parts to generate something else during build is not uncommon. But in such cases Makefile uses executables in their build path, not installed one. Hopefully this could be fixed. And the other thing would be to add something like make copy-ghdllib-sources to build it out-of-tree also? BTW, is there any good reason to not build ghdllib in the gcc build directory?
It is not easy to reuse the Makefile part for the libs as is. I think it could be possible to fix the Makefile, so that it is not necessary to install ghdl before building the libraries. OTOH, ghdl is expected to be location neutral, so it could be configured to be installed in one directory but really installed in another. Tristan. _______________________________________________ Ghdl-discuss mailing list Ghdl-discuss@gna.org https://mail.gna.org/listinfo/ghdl-discuss