Bitcoin Forum
May 11, 2024, 02:16:58 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Why my own compiled wallets are so big in size?  (Read 941 times)
embicoin (OP)
Sr. Member
****
Offline Offline

Activity: 249
Merit: 250


View Profile
February 27, 2014, 04:45:43 AM
 #1

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

If you want to support my contributions to the crypto space with some caffeine or a beer in form of satoshis: BTC 17z1x4gr1GsjM7Tgh5qYamDNrAx3LvrpTa Wink Thank you very much!!!
1715393818
Hero Member
*
Offline Offline

Posts: 1715393818

View Profile Personal Message (Offline)

Ignore
1715393818
Reply with quote  #2

1715393818
Report to moderator
1715393818
Hero Member
*
Offline Offline

Posts: 1715393818

View Profile Personal Message (Offline)

Ignore
1715393818
Reply with quote  #2

1715393818
Report to moderator
The grue lurks in the darkest places of the earth. Its favorite diet is adventurers, but its insatiable appetite is tempered by its fear of light. No grue has ever been seen by the light of day, and few have survived its fearsome jaws to tell the tale.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
cp1
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


Stop using branwallets


View Profile
February 27, 2014, 04:58:10 AM
 #2

Have you tried strip?

Guide to armory offline install on USB key:  https://bitcointalk.org/index.php?topic=241730.0
embicoin (OP)
Sr. Member
****
Offline Offline

Activity: 249
Merit: 250


View Profile
February 27, 2014, 05:10:27 AM
 #3

Have you tried strip?

Yes, I tried it with no changes at all...
BTW I am talking about QT Wallet.

If you want to support my contributions to the crypto space with some caffeine or a beer in form of satoshis: BTC 17z1x4gr1GsjM7Tgh5qYamDNrAx3LvrpTa Wink Thank you very much!!!
embicoin (OP)
Sr. Member
****
Offline Offline

Activity: 249
Merit: 250


View Profile
February 27, 2014, 11:55:52 AM
 #4

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...

If you want to support my contributions to the crypto space with some caffeine or a beer in form of satoshis: BTC 17z1x4gr1GsjM7Tgh5qYamDNrAx3LvrpTa Wink Thank you very much!!!
embicoin (OP)
Sr. Member
****
Offline Offline

Activity: 249
Merit: 250


View Profile
February 27, 2014, 06:55:06 PM
 #5

Bump ! Nobody has experimented the same problem?

If you want to support my contributions to the crypto space with some caffeine or a beer in form of satoshis: BTC 17z1x4gr1GsjM7Tgh5qYamDNrAx3LvrpTa Wink Thank you very much!!!
embicoin (OP)
Sr. Member
****
Offline Offline

Activity: 249
Merit: 250


View Profile
February 28, 2014, 04:01:23 AM
 #6

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?

If you want to support my contributions to the crypto space with some caffeine or a beer in form of satoshis: BTC 17z1x4gr1GsjM7Tgh5qYamDNrAx3LvrpTa Wink Thank you very much!!!
kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1025



View Profile
February 28, 2014, 06:10:52 AM
 #7

Are you sure you stripped the binary?

17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8
I routinely ignore posters with paid advertising in their sigs.  You should too.
embicoin (OP)
Sr. Member
****
Offline Offline

Activity: 249
Merit: 250


View Profile
March 01, 2014, 07:32:25 PM
 #8

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?

If you want to support my contributions to the crypto space with some caffeine or a beer in form of satoshis: BTC 17z1x4gr1GsjM7Tgh5qYamDNrAx3LvrpTa Wink Thank you very much!!!
kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1025



View Profile
March 01, 2014, 07:57:12 PM
 #9

It sounds like the strip utility you are running doesn't understand windows binaries.  Maybe find one that does?

17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8
I routinely ignore posters with paid advertising in their sigs.  You should too.
embicoin (OP)
Sr. Member
****
Offline Offline

Activity: 249
Merit: 250


View Profile
March 02, 2014, 10:17:55 AM
 #10

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>

If you want to support my contributions to the crypto space with some caffeine or a beer in form of satoshis: BTC 17z1x4gr1GsjM7Tgh5qYamDNrAx3LvrpTa Wink Thank you very much!!!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!