Hi Jannick, > Le 20 nov. 2018 à 22:35, Jannick <[email protected]> a écrit : > > Hi Akim, > > Suggestion: for Windows users it would be great if there were an _option_ > that the path to 'bison --print-datadir' be emitted as an absolute path > (forward slashes would be best I believe). > > This would tremendously help Windows users directly call bison's data > dependencies in a dos shell without having the pleasure to fiddle around > with the path components to come up with the absolute path. > > NOTE: Some Windows users use bison in a linux-like environment (e.g., > cygwin, msys2) where linux-like paths (e.g., '/usr/bin') should still be > provided as there are now. This is why I suggested an additional option (on > Windows). linux-like environments on Windows I know are well trained to > understand absolute paths with forward slashes.
I don't really understand the suggestion here. --print-datadir prints whatever is coming from options passed to ./configure, typically --prefix. And this is usually an absolute path, so it is actually fairly unconventional for --print-datadir to return a relative path. Can you give me details on how you reached that state? Thanks!
