Skip to content

--work should take -L into account #1241

Answered by nickg
ktbarrett asked this question in Q&A
Discussion options

You must be logged in to vote

I ran into an issue using NVC when setting --work=top and setting -L /path/to/dir/containing/top thinking it would take the -L command into account when searching for the work lib, but it does not for some reason.

It actually used to work like this a long time ago but I changed it because it seems more important for files to be written in a predictable location (e.g. if you already had a library called top in the search path but forgot about it NVC will silently write its output into an unexpected location) . For scripts and test harnesses the most robust method is to specify the location of all libraries explicitly with --work name:path and --map name:path.

Is that separator still sup…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by nickg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1215 on July 14, 2025 08:24.