This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Trying to build crm114 (20050721) under CygWin 1.5.18-1
- From: Brian Dessent <brian at dessent dot net>
- To: cygwin at cygwin dot com
- Date: Fri, 19 Aug 2005 09:25:14 -0700
- Subject: Re: Trying to build crm114 (20050721) under CygWin 1.5.18-1
- References: <EILH92R-0006U4-NR@mail2.learnquick.com>
- Reply-to: cygwin at cygwin dot com
Herb Martin wrote:
> crm114_tre: $(OFILES) crmregex_tre.o
> #
> # Note: if you haven't installed TRElib, the next step
> # will get an error.
> # For TRElib, look in the TRE sub-directory of this kit.
> # Remember to use ./configure --enable-static for static libs.
> # You will also need to add /usr/local/lib to /etc/ld.so.conf,
> # and then run ldconfig (as root) to set the library up and make
> # the library known to the static and runtime linkers.
> #
> $(CC) $(LDFLAGS) $(LIBS) $(OFILES) \
> crmregex_tre.o \
> -o crm114_tre
How does that fix anything? Where do -ltre and -lintl come from? Are
you adding them to $LIBS? If so then that's not going to work as you've
still got the wrong order.
> Full original make file (it you care to see it, it's here):
>
> # Makefile for CRM114
Wow. Just. Wow. That makefile is just unbelievable. (Unbelievably
bad that is.) I wonder if the author was molested by automake as a kid
and was scarred for life. Nothing else explains the reasoning for doing
things like copying the same rule over and over for every .o file.
Brian
--
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/