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 From: "Herb Martin" To: 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: <4306071D.4010201@familiehaase.de> Message-ID: X-Sign-LQC: HerbM AT learnquick DOT com/2005-08-19 12:01:28/=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/