Hello.
So, I love OpenBSD, and I love icarus verilog.
Here are my Two Cents:
Within the sources, the file driver/main.c, I found this:
-x-x-x-x-x-x-x-x-x-
#ifndef __MINGW32__
/* First try the location specified in the build process. */
if (access(IVL_ROOT, F_OK) != -1) {
assert(strlen(IVL_ROOT) < sizeof ivl_root);
strcpy(ivl_root, IVL_ROOT);
return;
}
#endif
/* If that fails, calculate the ivl_root from the path to the
command. This is always necessary on Windows because of the
installation process, but may also be necessary on other OSs
if the package has been relocated.
-x-x-x-x-x-x-x-x-x-
So, apparently, you can set the directory IVL_ROOT at build time. So the
port can be salvaged without the need of faking some syscalls() or whatever.
REGARDLESS, I think it is a bad style to set the location of vital libraries
at build time, without the possibility to change it afterwards.
Maybe somebody should tell Stephen Williams.
Thomas
> Christian Weisgerber <[email protected]> hat am 02.02.2021 23:13 geschrieben:
>
>
> Greg Steuck:
>
> > iverilog still starts.
>
> But the regression tests fail:
>
> driver/iverilog -B. -BMvpi -BPivlpp -tcheck -ocheck.vvp ./examples/hello.vl
> Cannot locate IVL modules : couldn't get command path from OS.
> gmake: *** [Makefile:141: check] Error 1
>
> --
> Christian "naddy" Weisgerber [email protected]