Web lists-archives.com

Re: Cygwin fails to utilize Unicode replacement character




On Wed, 5 Sep 2018 16:31:33, Andrey Repin wrote:
> Greetings, Steven Penny!
> 
> > a character that DejaVu Sans Mono actually doesnt have is:
> 
> >     U+01C4 LATIN CAPITAL LETTER DZ WITH CARON
> 
> > Using this file:
> 
> How to compile it?
> Simple "gcc glyph.c" fails with
> 
> /tmp/ccSCYXAP.o:glyph.c:(.text+0xbd): undefined reference to `__imp_CreateFontW'
> /tmp/ccSCYXAP.o:glyph.c:(.text+0xbd): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `__imp_CreateFontW'
> /tmp/ccSCYXAP.o:glyph.c:(.text+0xd0): undefined reference to `__imp_SelectObject'
> /tmp/ccSCYXAP.o:glyph.c:(.text+0xd0): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `__imp_SelectObject'
> /tmp/ccSCYXAP.o:glyph.c:(.text+0x111): undefined reference to `__imp_GetGlyphIndicesW'
> /tmp/ccSCYXAP.o:glyph.c:(.text+0x111): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `__imp_GetGlyphIndicesW'
> collect2: error: ld returned 1 exit status

64-@@ gcc -o glyph glyph.c -lgdi32

?

Henri


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