delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/22/12:22:38

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: Mon, 22 Nov 2004 12:21:55 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Peter Rehley <peter AT rehley DOT net>
cc: cygwin AT cygwin DOT com
Subject: Re: flex and dos source files. How is flex built for cygwin
In-Reply-To: <D36FEE26-3B25-11D9-AD1D-000D932D0448@rehley.net>
Message-ID: <Pine.GSO.4.61.0411221215291.20353@slinky.cs.nyu.edu>
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> <29A01F5A-3B11-11D9-84CE-000D932D0448 AT rehley DOT net> <419F8AA5 DOT 9040009 AT x-ray DOT at> <D36FEE26-3B25-11D9-AD1D-000D932D0448 AT rehley DOT net>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

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.

> > And please add a hint how to reproduce from source, so we don't have to
> > guess. Christofer claims that he didn't link against textmode.a, but it
> > looks like so, or there was some deeper magic behind, which went away
> > suddenly.
>
> He is using automode.o, he said in one of the followups to this thread.

...and that should have ended it.  I don't know why a simple question of
"how exactly was the distributed flex binary built?" raised so many
off-topic responses.

> Hint should be included in original posting.  It has original make commands
> that I used plus a simple example for testing.  It also has instructions on
> how to build and run the simple sample
>
> 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"
	                    ^^^^
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 AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT 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

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