Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: 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> <866615B0-3CB5-11D9-8A8A-000D932D0448 AT rehley DOT net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Message-Id: <30336753-3CBD-11D9-8A8A-000D932D0448@rehley.net> From: Peter Rehley Subject: Re: flex and dos source files. How is flex built for cygwin (No longer on topic) Date: Mon, 22 Nov 2004 11:32:03 -0800 To: cygwin AT cygwin DOT com X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id iAMJWFOt019067 On Nov 22, 2004, at 11:00 AM, Igor Pechtchanski wrote: [snip] > >> [snip] >>>> Modified build commands would be >>>> ./configure; make LDFLAGS="/usr/lib/automode.o" >>> >>> >>> 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 *is* LDLIBS. See "make -pf/dev/null | grep -C2 '^%: %.o'". BTW, > this > is not Cygwin-specific. Ok, that's the built-in rule, but the flex Makefile isn't using the built-in rule. See the rule for $(FLEX) > >>> 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). >>> > > 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 > > Enjoy, Peter ------------------------------- A Møøse once bit my sister -- 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/