This is the mail archive of the
mailing list for the Cygwin project.
Re: Standard LEX variable doesn't work in Make.
Am 25.11.2016 um 15:31 schrieb Brian Inglis:
One solution, and the most common in Cygwin, is the package flex should
create a symlink lex if no such symlink or exe exists;
In this case I believe that would be less than fully correct, because
flex is not a clean drop-in replacement for generic lex. For that one
has to add the '-l' flag. So instead of a symlink one would use a
wrapper script much like the 'yacc' script found in the 'bison' package,
exec /usr/bin/flex -l "$@"
> or by the FHS,
create a group of alternatives, with a slave alternative for each of
its public components e.g. bin, man, info, etc. files.
I don't think 'alternatives' is applicable here. We're not looking at
several packages providing the same file --- we're looking at
* single packages offering the same executable under more than one name,
causing it to express different personalities, like ex -> vi.exe, view
-> vi.exe, latex --> pdftex.exe,
* a subsystem like texlive installing a truckload of executable scripts
somewhere else, and links from /bin to them.
So while I agree that the 'alternatives' mechanism could, or even should
be used more in Cygwin, I don't think this is one of the cases where
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple