smake doesn't work with mingw-w64 (mingw-builds)
A Tool Box with tools written or managed by Jörg Schilling
Brought to you by:
schily
see text file for error output.
am using msys+mingw-w64. compiler is x86_64-4.9.0-release-win32-seh-rt_v3-rev2 available from https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/4.9.0/threads-win32/seh/
BTW, you can detect mingw-w64 with MINGW32
this is the 64-bit+32-bit compiler, you can change type of binary produced by -m32 or -m64
Please exit include/schily/unistd.h and change:
ifndef _MSC_VER
to
if !defined(_MSC_VER) && !defined(MINGW32)
just before the protoype block that contains the read() prototype.
This should be aprox. line 138.
during make:
just a mass of errors trying to compile with mingw-w64.
during the detection, it did not correctly detect windows.h and failed when it should have succeeded. I am using mingw-w64 dongsheld personal build 5.0.0 20141105.
Last edit: Jim Michaels 2014-12-10
Are you testing version 2014-09-17?
The code that seems to fail is:
GNU make sometimes prints "make[1]: Entering...", which would confuse us.
eval
${MAKE-make} -f conftestmake 2>/dev/null | grep temp=# line 1775if test -n "$ac_maketemp"; then # line 1776
eval ac_cv_prog_make_${ac_make}set=yes
else
eval ac_cv_prog_make${ac_make}_set=no
fi
Are you sure that your shell works correctly?
So what version of schilytools are you using and which shell with what version?
I found out that MSYS-20111123 I am using should instead be MSYS2-packages on github. But I have to build it (not sure I am going to be able to do it).
If you do another test, please include the schily-tools version in your report.