Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev libnm-dev libminiupnpc-dev sqlite3 glibc-source libxkbcommon-dev -y
- sudo add-apt-repository ppa:bitcoin/bitcoin
- sudo apt-get install libdb4.8-dev libdb4.8++-dev libminiupnpc-dev libzmq3-dev libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler libqrencode-dev g++-mingw-w64-i686 mingw-w64-i686-dev g++-mingw-w64-x86-64 mingw-w64-x86-64-dev curl doxygen libleveldb-dev libnatpmp-dev -y
- sudo update-alternatives --config i686-w64-mingw32-g++ # Set the default mingw32 g++ compiler option to posix.
- sudo update-alternatives --config x86_64-w64-mingw32-g++ # Set the default mingw32 g++ compiler option to posix.
- get clone https://github.com/litecoin-project/litecoin.git
- cd litecoin/depends
- make download
- make
- cd ..
- ./autogen.sh
- ./configure --enable-glibc-back-compat --prefix=`pwd`/depends/x86_64-pc-linux-gnu LDFLAGS="-static-libstdc++"
- make clean
- make
- cd depends
- make HOST=x86_64-w64-mingw32 -j4
- cd ..
- ./configure --prefix=`pwd`/depends/x86_64-w64-mingw32
- make clean
- make
- cd depends
- make HOST=i686-w64-mingw32 -j4
- cd ..
- ./configure --prefix=`pwd`/depends/i686-w64-mingw32
- make clean
- make
Add Comment
Please, Sign In to add comment