delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/04/10/11:19:06

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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding
:in-reply-to; q=dns; s=default; b=OCY+1+Gg2ULEjUGBTd3Q6mOjAH9ALI
kJ+AaYb+jFo4lUQcpvVOdc5vywoAwHKkyVDx5+j5BKWxOmlGq/IzboHdi3MrwLVh
bmzKKY4OWCwutcxike6L2rUjPGQkHFPQ3TgilgepgRKa6riqIaMINj3qXbjqpUL5
6tfo0z4EyhmVQ=
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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding
:in-reply-to; s=default; bh=V3dH+Ygu3AtNs0EHTtJyOTFA4CM=; b=YBp+
joWAWcNT7T+1G9daM6P4RkT+yMBA9bJUPttyXWdzV38scxm8G3h1lhVAlp7Hb/5t
U3BRfgePFEFalYLCzzhSvI6V8Zcz80UDi0MlEeN8BW2DSaK7DEHkLpVar5NlbtpJ
PyUnh8IGEnvuYulAydr7tu17vcPoPz+hJ61YDDY=
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=2.0 required=5.0 tests=AWL,BAYES_50,FSL_HELO_BARE_IP_2,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: =?UTF-8?B?UmVuw6kgQmVyYmVy?= <r DOT berber AT computer DOT org>
Subject: Re: Updated: libunistring 0.9.5-1
Date: Fri, 10 Apr 2015 10:17:08 -0500
Lines: 18
Message-ID: <mg8pk7$48k$1@ger.gmane.org>
References: <55275D48 DOT 9070009 AT xs4all DOT nl> <0D835E9B9CD07F40A48423F80D3B5A702E8BF21E AT USA7109MB022 DOT na DOT xerox DOT net>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0
In-Reply-To: <0D835E9B9CD07F40A48423F80D3B5A702E8BF21E@USA7109MB022.na.xerox.net>
X-IsSubscribed: yes

On 4/10/2015 9:58 AM, Nellis, Kenneth wrote:

[snip]
> It compiles fine, but I don't know how to get it to link.
> 
> $ gcc -lunistring unicode_character_name.c

The order is important on Cygwin, try:

gcc -o unicode_character_name unicode_character_name.c -lunistring

> libunistring.dll.a, the "dll" part of which seems odd to me

That's the way it works, a stub library (needed by the linker) with the
contents of the (real) dynamic library (i.e. there is a corresponding
lib<name>.dll).
-- 
René Berber


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