Bitcoin Forum
May 09, 2024, 09:16:12 AM *
News: Latest Bitcoin Core release: 27.0 [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 191 times)
onschedule (OP)
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 !!
1715246172
Hero Member
*
Offline Offline

Posts: 1715246172

View Profile Personal Message (Offline)

Ignore
1715246172
Reply with quote  #2

1715246172
Report to moderator
1715246172
Hero Member
*
Offline Offline

Posts: 1715246172

View Profile Personal Message (Offline)

Ignore
1715246172
Reply with quote  #2

1715246172
Report to moderator
1715246172
Hero Member
*
Offline Offline

Posts: 1715246172

View Profile Personal Message (Offline)

Ignore
1715246172
Reply with quote  #2

1715246172
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715246172
Hero Member
*
Offline Offline

Posts: 1715246172

View Profile Personal Message (Offline)

Ignore
1715246172
Reply with quote  #2

1715246172
Report to moderator
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3388
Merit: 6631


Just writing some code


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 (OP)
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: 910
Merit: 351


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: 3388
Merit: 6631


Just writing some code


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:  

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