Hi,

I'm maintaining the package ghdl-gcc-git for ArchLinux distribution
https://aur.archlinux.org/packages/ghdl-gcc-git/

The package builds gcc + VHDL libs in one package, which is very convenient.
However building the libraries is now done separately according to the 
BUILD.txt file:
make ghhdlib
The problem is that when this command is run by the packaging script,
the GHDL executable is not yet installed in the filesystem and /usr/bin/ghdl 
does not exist.

Actually when doing make install from the gcc build directory,
the installed files are copied in another local directory, sort of a fake root.
I looked at the Makefile in the GHDL dir and tried that command to compile the 
libs:
make GHDL="/home/adrien/Dev/AUR/ghdl-gcc-git/pkg/ghdl-gcc-git/usr/bin/ghdl" 
vhdl.libs.all libs.vhdl.standard
That way the command uses the ghdl executable in the temp package dir, but I 
get these errors:
warning: library std does not exists for v87
warning: library ieee does not exists for v87

I wouldn't like splitting the package in 2, one with ghdl, which would need to 
be built and installed first,
and another that would just have the libs.

And I haven't found a way to compile the libs without first having installed a 
version of ghdl with the std lib...

Any advice on this?

Regards,
Adrien


_______________________________________________
Ghdl-discuss mailing list
Ghdl-discuss@gna.org
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to