Hi all,

Thanks to everyone for continuing to advance GHDL, it has been quite a
while since I used it extensively.  I'm running on Mac OS X mostly
these days...

Is there a way to load compiled VHPIDIRECT object files or shared
libraries using the mcode version of GHDL?  Since there is no link
step, I was hoping perhaps one could cause ghdl to open a shared
library containing the functions instead of linking them in.

Of course...
# ghdl -e -Wl,test_c.o test
ghdl: unknown option '-Wl,test_c.o' for command '-e'
# ghdl -r -Wl,test_c.o test
ghdl: unknown option '-Wl,test_c.o' for command '-r'
# ghdl -r test
test.vhdl:24:12: unknown foreign VHPIDIRECT 'c_func'

And just because it appears in ghdl --run-help (even though I'm fairly
sure VPI is a different thing entirely...)
# ghdl -r --vpi=./test_c.o test
ghdl: unknown option '--vpi=./test_c.o' for command '-r'

Cheers,
J.

_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to