Mail Archives: cygwin/2004/11/22/14:32:21
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"
>>>
>>> <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 *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).
>>> </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
>
>
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/
- Raw text -