This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Updated: libunistring 0.9.5-1


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]