cd ..
export prepath=`pwd`
echo prepath=${prepath}
+ # The run starts with mount points for /c, /d, and
+ # C:/Program Files/Git on /
+ # C:/Program Files/Git/usr/bin on /bin
+ # C:/Users/RUNNER~1/AppData/Local/Temp on /tmp
+ echo "mount"
+ mount || echo "ignored"
+ echo "mount -o bind /c/msys64/usr /usr"
+ mount -o bind /c/msys64/usr /usr || echo "ignored"
+ # Now the msys64 mount is done. Remove it to go back to the start.
+ # there is:
+ # C:/msys64 on /
+ # C:/msys64/usr/bin on /bin
+ echo "mount"
+ mount || echo "ignored"
+ echo "mount -o bind C:/Program Files/Git /"
+ mount -o bind C:/Program Files/Git /
+ echo "mount -o bind C:/Program Files/Git/usr/bin /bin"
+ mount -o bind C:/Program Files/Git/usr/bin /bin
+ echo "mount"
+ mount || echo "ignored"
+ echo "umount"
+ umount /usr
echo "choco install winflexbison3"
choco install winflexbison3
echo 'LEX="win_flex"'
#PERL5LIB="/c/msys64/usr/share/autoconf-2.71:/c/msys64/usr/share/autoconf:/c/msys64/usr/share/automake-1.16:/c/msys64/usr/share/automake" PERL="C:/msys64/usr/bin/perl" PATH="/c/msys64/usr/bin:$PATH" autoreconf -fi
# the /usr/share use is done, remove the mount.
echo "mount"
- mount
+ mount || echo "ignored"
+ echo "mount -o bind C:/Program Files/Git /"
+ mount -o bind C:/Program Files/Git /
+ echo "mount -o bind C:/Program Files/Git/usr/bin /bin"
+ mount -o bind C:/Program Files/Git/usr/bin /bin
echo "umount -h"
umount -h || echo "ignored"
echo "umount /usr"
- umount /usr
+ umount /usr || echo "ignored"
echo "./configure --enable-debug --enable-static-exe --disable-flto \"--with-ssl=$prepath/openssl\" --with-libexpat=\"$prepath/expat\" --disable-shared"
./configure --enable-debug --enable-static-exe --disable-flto "--with-ssl=$prepath/openssl" --with-libexpat="$prepath/expat" --disable-shared
make