X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=aWzZc13rYBdI4/DE ak3X1N3A8JFEQeYVbNAZO7o5PUfQ0Gz+Vsbcahe4WQtZj9b9KmtnyJOK63ADj7rV PBWcOX3R1F56peflJuXX+lAIZwlRU4PIi1/yZXMweE8wWPirK6VEoWrt1HgEi7Np s9Jk0xbXkvu18MCy0Uw1nxkKmvA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=qgWfODhTFAlR7rpfNAHgLX JRZtw=; b=YJY89bf8d4wBdNWWRcWqhLbzmhkWUinatxh54V5Z1YnYtquydGmHTl iqMZM5oSUOdtYQKZ53zs8pwel1cEBFXGBERYuAaH2luHesKQzUJlFUAJ7008mvwQ j3LHQ3t9idMsMLSUk/1IgNxr/bgSbYfzboVjI2XxucFM4vP3k+Etk= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_05,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=H*Ad:D*t-online.de, HX-HELO:sk:mailout, We're, H*MI:sk:eee3ac0 X-HELO: mailout06.t-online.de Subject: Re: Standard LEX variable doesn't work in Make. To: cygwin AT cygwin DOT com References: <11448207-52c8-6745-999f-48a4534bbc41 AT t-online DOT de> From: =?UTF-8?Q?Hans-Bernhard_Br=c3=b6ker?= Message-ID: <4805811d-559f-a49d-9b2f-5041a0b94b08@t-online.de> Date: Sat, 26 Nov 2016 01:08:02 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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, i.e.: #! /bin/sh 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 that applies. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple