delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/20/12:02:28

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Sat, 20 Nov 2004 12:02:56 -0500
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: flex and dos source files. How is flex built for cygwin
Message-ID: <20041120170256.GC31836@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <419E499B DOT 4040007 AT mvista DOT com> <6 DOT 1 DOT 0 DOT 6 DOT 0 DOT 20041119143038 DOT 04e7a008 AT pop DOT prospeed DOT net> <419E52C1 DOT 6030604 AT mvista DOT com> <419E5922 DOT 9060501 AT mvista DOT com> <419EFB39 DOT 8020005 AT x-ray DOT at>
Mime-Version: 1.0
In-Reply-To: <419EFB39.8020005@x-ray.at>
User-Agent: Mutt/1.4.1i

On Sat, Nov 20, 2004 at 09:07:21AM +0100, Reini Urban wrote:
>Peter Rehley schrieb:
>>Peter Rehley wrote:
>>>Larry Hall wrote:
>>>>>We have a customer that is using flex under a custom version of cygwin
>>>>>that we provided them (with source).  The customer is having problems
>>>>>when their "*.l" files are in dos format.  Flex is taking the lines
>>>>>from the file and adding them into the lex.yy.c file untouched.  (i.e.
>>>>>they still have the \n\r at the end), and this causing problems later
>>>>>on.
>>>>>
>>>>>I tried using the version of flex that comes with the latest version of
>>>>>cygwin (1.5.12) and flex changes the \n\r to just \n, which makes
>>>>>everything work fine.  Good I thought since the version of flex we
>>>>>provide is not the latest.  I'll just recompile.
>>>>>
>>>>>But when I tried that with the latest flex (2.5.4a-3) I get the same
>>>>>behavior that the customer is seeing.  I get this behavior even if I
>>>>>compile on the latest version of cygwin.
>>>>>
>>>>>So, my question is what options are used for building flex?
>
>there's no build script and an inactive maintainer.  we don't know.

I'm the maintainer.

>>However linking the /usr/lib/textmode.o did work make
>>LDFLAGS="/usr/lib/textmode.o" # <- did the job
>>
>>Thanks Larry for pointing me in the right directory :)
>
>Oh god.  This was the right direction?  Sorry no.

I really didn't want to get involved in this because I really don't like
being tech support for a company but the flex in the distribution is, by
default, linked with 'automode.o'.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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