Replies: 1 comment
-
|
You might want to try creating a bundle instead (e.g. see here https://stackoverflow.com/a/50183179). Something like: Windows has the same issue and there it's possible to link against the executable which exports the VHPI symbols without an intermediate library. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
VHPI library cannot be built like it is described in man page (cc -shared -fPIC my_plugin.c -o my_plugin.so) on macOS using clang because any vhpi_ function causes undefined symbol errors. -Wl,-undefined,dynamic_lookup can be used but then all such errors are disabled and it is not convenient to disable this for each symbol. Would it not be useful to build a vhpi library when building nvc ? (similar to libghdlvpi built with ghdl)
Beta Was this translation helpful? Give feedback.
All reactions