This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Updated: libunistring 0.9.5-1
- From: Renà Berber <r dot berber at computer dot org>
- To: cygwin at cygwin dot com
- Date: Fri, 10 Apr 2015 10:17:08 -0500
- Subject: Re: Updated: libunistring 0.9.5-1
- Authentication-results: sourceware.org; auth=none
- References: <55275D48 dot 9070009 at xs4all dot nl> <0D835E9B9CD07F40A48423F80D3B5A702E8BF21E at USA7109MB022 dot na dot xerox dot net>
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