[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] FreeType DLL support (Re: Freetype-devel Digest, Vol 156,
From: |
Martin Gieseking |
Subject: |
Re: [ft-devel] FreeType DLL support (Re: Freetype-devel Digest, Vol 156, Issue 12) |
Date: |
Fri, 12 Jan 2018 22:48:06 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 |
Am 12.01.2018 um 21:56 schrieb Vincent Torri:
> On Fri, Jan 12, 2018 at 9:39 PM, Alexei Podtelezhnikov
> <address@hidden> wrote:
>>
>>
>>> Not really. dllexport/dllimport is platform- and not compiler-specific.
>>> GCC and Clang on MinGW also support them
>>
>> FreeType do not have DLL support for those tools yet. Patches are welcome.
>
> I've just tried freetype 2.9 with MSYS2 + mingw-w64 :
>
> ./configure --host=i686-w64-mingw32 --disable-static
> make -j7
>
> and I have my DLL
Yes, that's right. There's no need to adapt the build system to create
DLLs with MinGW/Cygwin. Libtool already takes care of it. The
dllexport/dllimport dance is necessary to mark/access the symbols that
are exported by the DLL. All untagged symbols are usually hidden, except
a .def file is used to list the exports. If the functions are supposed
to be dynamically loadable, e.g. with LoadLibrary and GetProcAddress,
they should be tagged accordingly.
Martin
- Re: [ft-devel] FreeType DLL support (Re: Freetype-devel Digest, Vol 156, Issue 12), (continued)
- Re: [ft-devel] FreeType DLL support (Re: Freetype-devel Digest, Vol 156, Issue 12), Vincent Torri, 2018/01/12
- Re: [ft-devel] FreeType DLL support (Re: Freetype-devel Digest, Vol 156, Issue 12), Martin Gieseking, 2018/01/12
- Re: [ft-devel] FreeType DLL support (Re: Freetype-devel Digest, Vol 156, Issue 12), Alexei Podtelezhnikov, 2018/01/12
- Re: [ft-devel] FreeType DLL support (Re: Freetype-devel Digest, Vol 156, Issue 12), Martin Gieseking, 2018/01/12
- Re: [ft-devel] FreeType DLL support (Re: Freetype-devel Digest, Vol 156, Issue 12), Vincent Torri, 2018/01/13
- Re: [ft-devel] FreeType DLL support, Werner LEMBERG, 2018/01/13
- Re: [ft-devel] FreeType DLL support, Vincent Torri, 2018/01/13
- Re: [ft-devel] FreeType DLL support, Werner LEMBERG, 2018/01/13
- Re: [ft-devel] FreeType DLL support (Re: Freetype-devel Digest, Vol 156, Issue 12), Vincent Torri, 2018/01/13
- Re: [ft-devel] FreeType DLL support (Re: Freetype-devel Digest, Vol 156, Issue 12), Alexei Podtelezhnikov, 2018/01/13
- Re: [ft-devel] FreeType DLL support (Re: Freetype-devel Digest, Vol 156, Issue 12),
Martin Gieseking <=