cryptozeny / sugarchain-v0.16.3

OUTDATED! This repo is moved to:
https://github.com/sugarchain-project/sugarchain
MIT License
0 stars 1 forks source link

Windows build (32-bit) #44

Closed cryptozeny closed 5 years ago

cryptozeny commented 5 years ago

w64

--disable-shared is the solution for w64

make clean && \
\
sudo apt-get install -y g++-mingw-w64-x86-64 && \
sudo update-alternatives --set \
x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix && \
\
PATH=$(echo "$PATH" | sed -e 's/:\/mnt.*//g') && \
\
cd depends && \
make HOST=x86_64-w64-mingw32 -j$(nproc) && \
\
cd .. && \
./autogen.sh && \
CONFIG_SITE=$PWD/depends/x86_64-w64-mingw32/share/config.site ./configure --disable-shared && \
make -j$(nproc)

https://stackoverflow.com/questions/49733534/enable-static-vs-disable-shared

w32

do it

cryptozeny commented 5 years ago

w32

make clean && \
\
sudo apt install -y g++-mingw-w64-i686 mingw-w64-i686-dev && \
sudo update-alternatives --set \
i686-w64-mingw32-g++ /usr/bin/i686-w64-mingw32-g++-posix && \
\
PATH=$(echo "$PATH" | sed -e 's/:\/mnt.*//g') && \
\
cd depends && \
make HOST=i686-w64-mingw32 -j$(nproc) && \
\
cd .. && \
./autogen.sh && \
CONFIG_SITE=$PWD/depends/i686-w64-mingw32/share/config.site ./configure --disable-shared && \
make -j$(nproc)
cryptozeny commented 5 years ago

fixed https://github.com/cryptozeny/sugarchain-v0.16.3/pull/48

cryptozeny commented 5 years ago

https://github.com/cryptozeny/sugarchain-v0.16.3/pull/65