Le 2014-05-12 18:49, Brian Drummond a écrit :
This should be _in_ the existing manual somewhere.
bits and pieces are scattered but not explained the way you just do
below :
You don't (explicitly) create a library - simply compile entities
(packages, etc) _into_ it, and it is created.
ghdl -a --work=my_custom_lib my_file.vhd
as simple as that.
Usually you organise library sources and compiled objects into their
own
directories; the --workdir option is for this, i.e.
ghdl -a --work=my_custom_lib --workdir=my_custom_libdir
my_custom_lib_srcdir/my_file.vhd
Can anybody update the doc and website with this paragraph please ? :-)
ghdl --options-help
Main options:
--work=LIB use LIB as work library
--workdir=DIR use DIR for the file library
-PPATH add PATH in the library path list
I've seen that but their use, the context and the process are not
explained,
so I'm never sure how/why/when to use these options and for what...
Thanks again :-)
- Brian
YG
_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss