#1109 and #1041. Don't call cygwin recursively. I replaced c:\cygwin yesterday with 64bit cygwin to avoid the Windows10 fork/crash. Use CXXFLAGS=-m64 - just like unix.

v0.27.3
Robin Mills 10 years ago
parent 2c8988fc7a
commit 2967bdfa6f

@ -155,42 +155,22 @@ case "$build" in
;; ;;
CYGW) CYGW)
if [ ! -z "$RECURSIVE" ]; then if [ "$x64" == true ]; then
# export LIBS=-lintl export CFLAGS=-m64
# I've given up: export CXXFLAGS=-m64
# 1 trying to get Cygwin to build with gettext and friends export LDFLAGS=-m64
# 2 trying to get Cygwin to install into a local directory fi
# deal with 32bit and 64bit build requests
# Jenkins invokes the 32 bit cygwin, so recursively build 64 bits.
echo make clean
make clean
echo rm config.log config.status
rm -rf config.log config.status
echo make config echo make config
make config make config
echo ./configure ${withcurl} ${withssh} --disable-nls # I've given up trying to get Cygwin to install into a local directory
./configure ${withcurl} ${withssh} --disable-nls echo ./configure ${withcurl} ${withssh}
./configure ${withcurl} ${withssh}
make -j make -j
result=$?
make install make install
make -j samples make -j samples
run_tests run_tests
/usr/local/bin/exiv2 -v -V /usr/local/bin/exiv2 -v -V
result=$?
else
if [ "$x64" == true ]; then
export RECURSIVE=1
/cygdrive/c/cygwin64/bin/bash.exe -c "cd $PWD ; ./$0"
# cd "$PWD" ; ./$0
result=$?
fi
if [ "$Win32" == true ]; then
export RECURSIVE=1
/cygdrive/c/cygwin/bin/bash.exe -c "cd $PWD ; ./$0"
# cd "$PWD" ; ./$0
result=$?
fi
fi
;; ;;
MING) MING)

Loading…
Cancel
Save