delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/19/11:22:14

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: <4305F8FD.3080104@familiehaase.de>
Date: Fri, 19 Aug 2005 17:21:33 +0200
From: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.11) Gecko/20050728
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Trying to build crm114 (20050721) under CygWin 1.5.18-1
References: <EILH4L4-0007JS-3C AT mail2 DOT learnquick DOT com> <4305F226 DOT CD82A7FD AT dessent DOT net>
In-Reply-To: <4305F226.CD82A7FD@dessent.net>
X-IsSubscribed: yes

Brian Dessent wrote:

> Now you've got the order wrong.  The objects must be specified in
> dependent order, which generally means libraries after objects.

I.e.:
  gcc -o crm114 *.o -L/usr/local/lib -ltre -lintl -liconv

-lcygwin (== -lm) is automatically added at the end when linking.


Gerrit
-- 
=^..^=

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