Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Mime-Version: 1.0 (Apple Message framework v619)
In-Reply-To: <Pine.GSO.4.61.0411221215291.20353@slinky.cs.nyu.edu>
References: <419E499B.4040007@mvista.com> <6.1.0.6.0.20041119143038.04e7a008@pop.prospeed.net> <419E52C1.6030604@mvista.com> <419E5922.9060501@mvista.com> <419EFB39.8020005@x-ray.at> <29A01F5A-3B11-11D9-84CE-000D932D0448@rehley.net> <419F8AA5.9040009@x-ray.at> <D36FEE26-3B25-11D9-AD1D-000D932D0448@rehley.net> <Pine.GSO.4.61.0411221215291.20353@slinky.cs.nyu.edu>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <866615B0-3CB5-11D9-8A8A-000D932D0448@rehley.net>
Content-Transfer-Encoding: 7bit
From: Peter Rehley <peter@rehley.net>
Subject: Re: flex and dos source files.   How is flex built for cygwin
Date: Mon, 22 Nov 2004 10:37:12 -0800
To: cygwin@cygwin.com
X-IsSubscribed: yes


On Nov 22, 2004, at 9:21 AM, Igor Pechtchanski wrote:

> On Sat, 20 Nov 2004, Peter Rehley wrote:
>
>> On Nov 20, 2004, at 10:19 AM, Reini Urban wrote:
>>
>> [snip]
>>> ok thanks, for confirmation.
>>> so cgf should repackage it. it's obviously a bug.
>>
>> I think so also because this isn't the behavior that occurs on linux 
>> or BSD.
>
> Umm, which behavior are you talking about?  The automatic conversion 
> of CRLF
> line endings to LF?  This is Cygwin-specific behavior, and has nothing 
> to do
> with Linux or BSD.  It's there to avoid complaints from people who 
> use, say,
> notepad on binary mounts to edit their .flex files.
I suspected as much.

[snip]
>> Modified build commands would be
>> ./configure; make LDFLAGS="/usr/lib/automode.o"
>
> <PEDANTIC>
> The above should really be
> 	./configure; make LDLIBS="/usr/lib/automode.o"
> 	                    ^^^^
make LIBS="-lintl /usr/lib/automode.o".  There is no LDLIBS in the flex 
source, and when setting LIBS the -lintl is needed because the LIBS in 
the Makefile had that value.
> It may not matter for linking in a .o file, but it certainly will 
> matter if
> a -l form is used (as you tried earlier).
> </PEDANTIC>
>
> HTH,
> 	Igor
> -- 
> 				http://cs.nyu.edu/~pechtcha/
>       |\      _,,,---,,_		pechtcha@cs.nyu.edu
> ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
>      |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
>     '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
>
> "The Sun will pass between the Earth and the Moon tonight for a total
> Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT
>

------------------------------------------------
Let's move along.  Nothing to see here.


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

