delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/12/31/19:26:39

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:message-id:date:from:to:references:subject
:content-type; q=dns; s=default; b=h7oX7WoW/ilZNmgmAHfB1kYf6+qZN
ATlV83+WE1UgQOpXtWfU+nvGf4ZYNFRc5tR43iFHAV+MMG51RVI68OkK3djtl2OO
y8+vnrC+XRqlVIQEffvgVxzTebIrKSKWwG2blvnp3sA/Tve6V3pqhwn7pQj09y+7
j3juKiFAx/LPJg=
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:message-id:date:from:to:references:subject
:content-type; s=default; bh=bJXAPIwyCoaBorimMpd9bJ7d3B8=; b=I91
k0GpiFboN86QfZQU3Oj9ICcSRgJAfdpwJtzfd/m7tluLq4EydYGaT9aoCS003qu7
KBUIxu1dFOx4VmrCexkRBeRUuTsom917rIOLq6h2aJKqDjkIrm7c6o1gnKrKKQsv
n1C7I2OUx6w2CZANIwBRwYaCG6WPOuec/UPgHr6g=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=demonstration, Hx-languages-length:919, H*M:google, H*UA:github.com
X-HELO: mail-oi0-f54.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:to:references:subject :user-agent; bh=4psClbASJAN1lWJEv7xrPlscMbjhBgJtHTkXcI9f+UU=; b=JqplZKsU+6GePuB2SFz9mO5qn1CRHBlNAJ8p94eLzTVtiXh3P3FgW3ObjNu3rOtXbG pMZxwmPNeS+NkGSXL8d0gyg3Un9jDeGMFItdsC2bKo4GeeSDzNKfFDI0cP/BA7TJgNGN K4mzKUHIRZIAUlpI8iJbc1xONav9cbJezwWVkLZt3TnseU66bVXAqCwO3/POQha3B2As KsVhW+XWs/xAD03ADdl+RFBbQ8dCfTDJNK3dZsmGsd83EtrnuY0GH8+p8aZFYAUNG3DH ZWC1DiTiZpBI59rXE3M6plzV1dnl22uvrjz8Mn9Wc9DET5YZ9jxZjMmLInFAIYlbJR5V FVJg==
X-Gm-Message-State: AKGB3mJvfrP6SRvXb33qoNcCl7DBfLwybG3MPdeONv9J2yDunWMP/m7f A4L60a7gPUozjtsxPwHmWSNrfQ==
X-Google-Smtp-Source: ACJfBou3F7CCY8TfZ3hXW4A3euJGHFM4ZJNUQK18SfKyqfxlRhvURqYSqrQ1cODQw34vfBe2as/uGg==
X-Received: by 10.202.117.141 with SMTP id q135mr31490943oic.109.1514766383606; Sun, 31 Dec 2017 16:26:23 -0800 (PST)
Message-ID: <5a49802e.82f5ca0a.48f96.8a5b@mx.google.com>
Date: Sun, 31 Dec 2017 16:26:22 -0800 (PST)
From: Steven Penny <svnpenn AT gmail DOT com>
X-Google-Original-From: Steven Penny
To: cygwin AT cygwin DOT com
References: <CANnLRdjLkgpsw6ogipAVaAsjKm+fRruBFvizK-sgSNiXYWrijg AT mail DOT gmail DOT com>
Subject: Re: flex package POSIX violation
User-Agent: Tryst/2.0.1 (github.com/svnpenn/tryst)

On Sun, 31 Dec 2017 18:43:00, Stephen John Smoogen wrote:
> Which is why I wanted to see where this was going. Are these fixes
> just looking for low hanging fruit to be POSIX compliant, or are these
> needing larger amounts of resources to be 'compliant'? If the
> flex->lex link fails some sort of POSIX test, are people going to need
> Cygwin porters to fix those? Also is there an easy line for "this is
> compliant enough?"

Here is a simple demonstration of the problem:

    $ cat xr.l
    %option main
    %%
    ya printf("zu");
    %%

    $ make xr
    lex  -t xr.l > xr.c
    /bin/sh: lex: command not found
    make: *** [<builtin>: xr.c] Error 127
    rm xr.c

now of course you can work around this by "make LEX=flex xr" or similar, but no
major Linux distro makes you do this, as they already include "lex" vis-a-vis
the symlink to flex.

[1] http://gnu.org/software/make/manual/html_node/Implicit-Variables


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019