RSS/Atom feed Twitter
Site is read-only, email is disabled

Windows build

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

4 of 4 messages available
Toggle history

Please log in to manage your subscriptions.

Windows build Jari Niskala 31 Jul 23:19
Windows build Jari Niskala 31 Jul 23:55
  Windows build Jernej Simončič 01 Aug 06:56
   Windows build Jari Niskala 01 Aug 14:54
Jari Niskala
2012-07-31 23:19:45 UTC (over 12 years ago)

Windows build

Hi guys,

First of all, thanks for all your hard work on such a great tool!

Now to the question. I managed to build the 2.8.0 release from sources for Win32 (using MinGW) but I'm trying to figure out why my build is quite large, ~32MB, compared to the official Windows build coming in around 5MB. This is for the executable but I'm also seeing larger gimp dlls.

Any ideas?

Thanks for any help you are able to provide!

Best regards,

Jari Niskala

Jari Niskala
2012-07-31 23:55:52 UTC (over 12 years ago)

Windows build

FYI, the only configure flag I used was to disable python.

From: Jari Niskala [mailto:jariniskala@gmail.com] Sent: Tuesday, July 31, 2012 4:20 PM To: gimp-developer-list@gnome.org
Cc: 'Jari niskala'
Subject: Windows build

Hi guys,

First of all, thanks for all your hard work on such a great tool!

Now to the question. I managed to build the 2.8.0 release from sources for Win32 (using MinGW) but I'm trying to figure out why my build is quite large, ~32MB, compared to the official Windows build coming in around 5MB. This is for the executable but I'm also seeing larger gimp dlls.

Any ideas?

Thanks for any help you are able to provide!

Best regards,

Jari Niskala

Jernej Simončič
2012-08-01 06:56:04 UTC (over 12 years ago)

Windows build

On Wednesday, August 1, 2012, 1:55:52, Jari Niskala wrote:

Now to the question. I managed to build the 2.8.0 release from sources for Win32 (using MinGW) but I'm trying to figure out why my build is quite large, ~32MB, compared to the official Windows build coming in around 5MB. This is for the executable but I'm also seeing larger gimp dlls.

The "official" builds are stripped to external .debug files. If you don't care about debug information, you can just run strip on executables and DLLs, or you could just move the debug info to separate files with these two commands (run them from the root of install prefix):

find \( -iname '*.dll' -or -iname '*.exe' -or -iname '*.pyd' \) -type f -exec x86_64-w64-mingw32-objcopy -v --only-keep-debug '{}' '{}'.debug \; find \( -iname '*.dll' -or -iname '*.exe' -or -iname '*.pyd' \) -type f -exec x86_64-w64-mingw32-objcopy -v --add-gnu-debuglink='{}'.debug '{}' --strip-unneeded \;

Jari Niskala
2012-08-01 14:54:01 UTC (over 12 years ago)

Windows build

Thanks Jernej!

-----Original Message----- From: gimp-developer-list-bounces@gnome.org [mailto:gimp-developer-list-bounces@gnome.org] On Behalf Of Jernej Simoncic Sent: Tuesday, July 31, 2012 11:56 PM To: Jari Niskala on [gimp-developer-list] Subject: Re: [Gimp-developer] Windows build

On Wednesday, August 1, 2012, 1:55:52, Jari Niskala wrote:

Now to the question. I managed to build the 2.8.0 release from sources for
Win32 (using MinGW) but I'm trying to figure out why my build is quite large, ~32MB, compared to the official Windows build coming in around 5MB. This is for the executable but I'm also seeing larger gimp dlls.

The "official" builds are stripped to external .debug files. If you don't care about debug information, you can just run strip on executables and DLLs, or you could just move the debug info to separate files with these two commands (run them from the root of install prefix):

find \( -iname '*.dll' -or -iname '*.exe' -or -iname '*.pyd' \) -type f -exec x86_64-w64-mingw32-objcopy -v --only-keep-debug '{}' '{}'.debug \; find \( -iname '*.dll' -or -iname '*.exe' -or -iname '*.pyd' \) -type f -exec x86_64-w64-mingw32-objcopy -v --add-gnu-debuglink='{}'.debug '{}' --strip-unneeded \;

-- < Jernej Simončič ><><><><>< http://eternallybored.org/ >

There's never time to do it right, but there is always time to do it over. -- Weskimen's Law