Bitcoin Forum
November 14, 2019, 08:07:39 PM *
News: Latest Bitcoin Core release: 0.18.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: why got a so big size wallet client during compile wallet in ubuntu  (Read 101 times)
onschedule
Newbie
*
Offline Offline

Activity: 25
Merit: 0


View Profile
January 17, 2019, 09:00:28 AM
Last edit: January 17, 2019, 10:09:14 AM by onschedule
 #1

ubuntu 18.04
compile crypto currency

compile process:
cd xxxxcoin
./autogen.sh
./configure
./make

got xxxxcoind in /xxxxcoin/src, but the size over 140M

then compile :
sudo apt-get install g++-mingw-w64-i686
cd xxxxcoin
cd depends
make HOST=x86_64-w64-mingw32 -j4
cd ..
CONFIG_SITE=$PWD/depends/x86_64-w64-mingw32/share/config.site ./configure --prefix=/
make
got xxxxcoin-qt in src/qt ,but the size over 140M

need help !!
1573762059
Hero Member
*
Offline Offline

Posts: 1573762059

View Profile Personal Message (Offline)

Ignore
1573762059
Reply with quote  #2

1573762059
Report to moderator
The Bitcoin Forum is turning 10 years old! Join the community in sharing and exploring the notable posts made over the years.
1573762059
Hero Member
*
Offline Offline

Posts: 1573762059

View Profile Personal Message (Offline)

Ignore
1573762059
Reply with quote  #2

1573762059
Report to moderator
1573762059
Hero Member
*
Offline Offline

Posts: 1573762059

View Profile Personal Message (Offline)

Ignore
1573762059
Reply with quote  #2

1573762059
Report to moderator
1573762059
Hero Member
*
Offline Offline

Posts: 1573762059

View Profile Personal Message (Offline)

Ignore
1573762059
Reply with quote  #2

1573762059
Report to moderator
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 1946
Merit: 2902


bc1qshxkrpe4arppq89fpzm6c0tpdvx5cfkve2c8kl


View Profile WWW
January 17, 2019, 05:30:37 PM
Merited by Foxpup (2), aliashraf (2)
 #2

That is not abnormal. The reason the binary is so large is because it contains debugging symbols. It is not stripped. If you do
Code:
strip src/qt/xxxcoin-qt
the binary will become much smaller. That removes all of the debugging symbols.

onschedule
Newbie
*
Offline Offline

Activity: 25
Merit: 0


View Profile
January 18, 2019, 02:48:32 AM
 #3

That is not abnormal. The reason the binary is so large is because it contains debugging symbols. It is not stripped. If you do
Code:
strip src/qt/xxxcoin-qt
the binary will become much smaller. That removes all of the debugging symbols.

thanks man ,but strip function is not normal process ,some time i can get a normal wallet with normal size but most of time i can not.
elda34b
Sr. Member
****
Offline Offline

Activity: 602
Merit: 334


View Profile
January 18, 2019, 03:08:30 AM
 #4

thanks man ,but strip function is not normal process ,some time i can get a normal wallet with normal size but most of time i can not.

What is your definition of "normal size"? I think it's usual if you build from scratch and got "bigger" files compared to non-debugging files, just like achow said.
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 1946
Merit: 2902


bc1qshxkrpe4arppq89fpzm6c0tpdvx5cfkve2c8kl


View Profile WWW
January 18, 2019, 03:34:31 AM
Merited by suchmoon (4)
 #5

thanks man ,but strip function is not normal process ,some time i can get a normal wallet with normal size but most of time i can not.
And what you are doing is not the normal process for releases. You are doing the normal process for development where you want to have debugging symbols in order to debug the software. The release process uses gitian which runs a build script. That build script does use strip and does many other things that are specific to releases.

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!