Author

Topic: Why my own compiled wallets are so big in size? (Read 964 times)

sr. member
Activity: 249
Merit: 250
It sounds like the strip utility you are running doesn't understand windows binaries.  Maybe find one that does?

->I used the strip that comes with mingw32, dependant on zlib1.dll (the latest from mingw32-get repository), its size is 7.99MB
->Also tried with 2 another strip versions, mingw32-4.8 dwarf build and mingw32-4.6 i686 build... (887KB and 902KB size)
->Also tried mingw32-strip.exe but no luck.

Still waiting for a constructive answer.
Anyway thanks for trying kjj Wink

Code:
C:\bitcoin\release>strip -v bitcoin-qt.exe
copy from `bitcoin-qt.exe' [pei-i386] to `sta02416' [pei-i386]
C:\bitcoin\release>
kjj
legendary
Activity: 1302
Merit: 1026
It sounds like the strip utility you are running doesn't understand windows binaries.  Maybe find one that does?
sr. member
Activity: 249
Merit: 250
Are you sure you stripped the binary?

cmd ->
cd bitcoin-source/release
strip bitcoin-qt.exe
The output is nothing. The size stays the same...

Am I missing anything?
kjj
legendary
Activity: 1302
Merit: 1026
Are you sure you stripped the binary?
sr. member
Activity: 249
Merit: 250
Please I am stuck with this issue Sad

Last walled I compiled was auroracoin windows qt.
The precompiled exe: 8.16MB
My own compiled exe: 18.4MB
The functionality seems to be exactly the same.

Where is the problem?
sr. member
Activity: 249
Merit: 250
Bump ! Nobody has experimented the same problem?
sr. member
Activity: 249
Merit: 250
Still no answers Sad

FYI: When I zip the client it goes from 22 MB to 7MB, so it seems to be lot of redundant - garbage data there...
Also is important for me to know is there is the possibility of packing .dll libraries inside the exe...
sr. member
Activity: 249
Merit: 250
Have you tried strip?

Yes, I tried it with no changes at all...
BTW I am talking about QT Wallet.
cp1
hero member
Activity: 616
Merit: 500
Stop using branwallets
Have you tried strip?
sr. member
Activity: 249
Merit: 250
Hello!
My computer is running Windows 8.1 64 bits.

I recently have compiled several wallets for also several coins, I tried with different versions for the deps and also QT4 and QT5.
In all scenarios the results involve my computer releasing a large executable file, with an average size of 20 MB.

I have seen binary releases of BTC and other alt-coins with averages of 7-8 MB, so my question is:

1. Is it possible to reduce the output QT-wallet executable?

Also I seen that when I run in it standalone my computer it does not ask for dll, but when I move the exe to another computer with Windows 7 x64 I need to pack it with the several .dll libraries, Qt4gui and so...

2. Is there any way to pack the libraries in the exe?


Thanks in advance Wink
Jump to: