delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/19/12:21:49

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
Message-ID: <430607EA.4FACEE83@dessent.net>
Date: Fri, 19 Aug 2005 09:25:14 -0700
From: Brian Dessent <brian AT dessent DOT net>
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Trying to build crm114 (20050721) under CygWin 1.5.18-1
References: <EILH92R-0006U4-NR AT mail2 DOT learnquick DOT com>
X-IsSubscribed: yes
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019