[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] fribidi
From: |
Tony Theodore |
Subject: |
Re: [Mingw-cross-env-list] fribidi |
Date: |
Sun, 19 Jun 2016 04:31:07 +1000 |
> On 19 Jun 2016, at 03:26, Enoch <address@hidden> wrote:
> […]
> MMM=i686-w64-mingw32.static
> […]
> rowise.dll: rowise.c
> $(CC) $(CFLAGS) $< -shared -o$@ -static `$(PKG_CONFIG) --cflags fribidi
> --libs fribidi`
>
> An unfortunate outcome though is size:
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> New size: 1707008 Jun 18 12:55 rowise.dll
> Old size: 74752 Apr 15 15:48 rowise.dll
>
> Commenting out --with-glib in the fribidi.mk and rebuilding did not
> shrink my dll size. A closer examination is needed.
It’s hard to predict what using the `*-mingw32.static` variant along with
mixing gcc options of `-static` and `-shared` will produce. Start with the
`*-mingw32.shared` build and see how it goes from there.
Cheers,
Tony