delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/12/14/20:58:11

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:to:subject:in-reply-to
:references; q=dns; s=default; b=UqFPnfreZiRWUsfKYtGX0s02C76sfVW
PehM4ZisuiQUTDyxeWtNofybQGUwDzW1Ri5v2UmYitzbajsHWnfSnSV2OdAV0keQ
e4t9YJuPasZA0jSPkXbEX31ZSI8c28CcK3jMlH1s4+9yykW1tnU5FLfES4/TAACV
BDwdYX5zLOtE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:to:subject:in-reply-to
:references; s=default; bh=bQxcMBcunaOHvL1TmEmZ38OwNTk=; b=d40uX
eAQdZVE9waUutKojfo3yjDhyQufgZ93pGbxgRVotVL5/lqB1JjXftLNLVqxnzZOH
O3iyz1z1qWXiAOJh2kVV4KkOwlf1BThwZwoSNl72jp/mlDd5XAMqbGKueIMGf/5N
ymDO5lKB2EEnG6tPtSMG1znw4J8ouGBFZ8uvTE=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: mail1.asahi-net.or.jp
Message-ID: <20131215105759.3624@binki>
Date: Sun, 15 Dec 2013 10:57:59 +0900
From: wynfield AT gmail DOT com
To: <cygwin AT cygwin DOT com>
Subject: Re: compiling and linking mechanics
In-reply-to: Your message of Sat, 14 Dec 2013 14:40:09 -0500 <20131214194009.GB3015@ednor.casa.cgf.cx>
References: <20131214235105 DOT 3564 AT binki> <20131214194009 DOT GB3015 AT ednor DOT casa DOT cgf DOT cx>
X-IsSubscribed: yes

Thanks for summing up the exact problem and solution.
I apprecaite it.

Christopher Faylor wrote:
> On Sat, Dec 14, 2013 at 11:51:05PM +0900, wynfield AT gmail DOT com wrote:
> >With the current set of gcc and loader, does there still exist the
> >diffence that makes porting GNU Linux programs a challenge sometimes.
> >I haven't build for a while, but I recall that the order of libraries
> >in a ?  linking process on the command line wouldn't work as they do in
> >on GNU Linux systems.
> >
> >Is this still the case?  Is there a document somewhere that describes
> >the situation well and how to modify arguments to enable a clean link
> >on cygwin?
> 
> It isn't incredibly difficult to understand:  Some poorly written makefiles
> put a -lib before the object files which rely on them.  That works by
> coincidence in Linux but doesn't work on Windows.  So put the -libraries
> last.
> .... END


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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