Web lists-archives.com

Re: Cygwin fails to utilize Unicode replacement character




Greetings, Houder!

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

Thanks, that's better. Somewhat.


-- 
With best regards,
Andrey Repin
Wednesday, September 5, 2018 17:52:46

Sorry for my terrible english...


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