mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Mxe gtkmm cross compiled project


From: Gerardo Ballabio
Subject: Re: [Mingw-cross-env-list] Mxe gtkmm cross compiled project
Date: Tue, 2 Apr 2019 17:54:03 +0200

In my experience stripping the static binary reduces a lot, say 120 MB to 20 MB.
I'd be interested to know if you have success with the shared version.
I don't know how to edit the theme, if there is a way I'd be interested to know that too.

Gerardo


Il giorno mar 2 apr 2019 alle ore 16:08 Mohamed Khalil BOUJDARIA <address@hidden> ha scritto:
I think i solved the problem. I was compiling using the i686-w64-mingw32.static not the shared. I am currently downloading and building the shared version ! Hope it helps.
Another problem is the theme. After cross compiling and running the application the theme is not native to windows. Is there a way to edit the theme ?

Thanks !

Le mar. 2 avr. 2019 à 14:27, Kjetil Matheussen <address@hidden> a écrit :
On Tue, Apr 2, 2019 at 3:19 PM Mohamed Khalil BOUJDARIA
<address@hidden> wrote:
>
> Hey list !
>
> I'm trying to cross compile a simple gtkmm project on ubuntu for windows using CMake. I have successfully generated the .exe file. However its size is too large (over 100 Mb). All i have is a simple main that spawns an empty window (the simple example in gtkmm tutorials). I tried to only include the necessary headers for gtkmm not the gtkmm.h but it's still the same problem. I get a 120.9 Mb file.
>

Hi, did you strip the binary for debug symbols? (don't know if it
strips down that much though...)
x86_64-w64-mingw32.shared-strip
i686-w64-mingw32.shared-strip


--
Mohamed Khalil BOUJDARIA
Élève ingénieur en mécatronique
École nationale d'ingénieurs de Carthage
Tél : +21653283365/+21652054010

reply via email to

[Prev in Thread] Current Thread [Next in Thread]