Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
building verilator from source package #1597
Author Name: thomas arndt
I've compiled the Verilator from scratch.
If I'm done with that I see:
Then due to a intended reason I've copy the verilator folder to another location
setting VERILATOR_ROOT to /tools/anotherlocation/verilator
The shipped examples fail with a no such file or directory error, since it tries to find the verilator.mk
To solve this issue I've copied
This works then...
Is there a better solution to achive the correct behaviour?
BTW: Under mingw-w64 the installation structure is the same.
CFG_CXXFLAGS_NO_UNUSED = -faligned-new -Wno-bool-operation -Wno-sign-compare -Wno-uninitialized -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable -Wno-shadow
Could you please help me in this case?
Original Redmine Comment
By setting VERILATOR_ROOT that overrides the default you set for prefix, just don't set that and it should work, let us know.
For more details on this see docs/install.adoc (or [[Installing]] here).