delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/19/13:01:48

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
From: "Herb Martin" <HerbM AT learnquick DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: Trying to build crm114 (20050721) under CygWin 1.5.18-1
Date: Fri, 19 Aug 2005 12:01:39 -0500
MIME-Version: 1.0
In-Reply-To: <4306071D.4010201@familiehaase.de>
Message-ID: <EILHBAF-0006SG-MQ@mail2.learnquick.com>
X-Sign-LQC: HerbM AT learnquick DOT com/2005-08-19 12:01:28/<cygwin AT cygwin DOT com>=ojwfcopy

Gerrit P. Haase [gerrit AT familiehaase DOT de] wrote
> This is wrong. Try this instead:
> 
>   	$(CC) $(LDFLAGS) $(OFILES) \
>   	  crmregex_tre.o \
>   	  -ltre $(LIBS) -o crm114_tre
> 
> > My tre libs looks like this:
> > 
> > $ d /usr/local/lib/*tre*
> > rw-r--r--  herbm:None  349K  Aug 18 21:29  libtre.a
> > rwxr-xr-x  herbm:None   789  Aug 18 21:29  libtre.la
> 
> Then you should go with the settings as you posted above:
> 
> LDFLAGS += -L/usr/local/lib
> LIBS += -lintl -liconv

> Change the Makefile so that $LIBS are at the end behind the 
> objects and libtre as noted above since libtre reqwuires 
> libintl and the linker reads command lines from right to left.

Makes!!!!

Thank you.  

Thanks to eveyone who tried to help me.

It runs (minimaly) and passes the first of the two
trivial tests given in the crm114 "How To" document
-- it seems to hang on the second (Hello, world!)
test, but the basic (make/link) problem is solved.

Thanks Gerrit; thanks again eveyone.

Now, to debug the program.

--
Herb Martin



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