Closed enjoysmath closed 6 years ago
Thanks for reporting this. What cc
do you have installed? It looks like we're relying on cc
to expand src/*.c
, which isn't portable.
Never mind, ignore that last comment. I tested this, and make
should be using the shell to expand its arguments. Can you run make sysinfo
and sh --version
and paste the results here?
Sorry, clicked the wrong button! I have a Windows computer, so I can probably reproduce this if I have more information about the shell/mingw/cygwin version.
Tried make sysinfo
and sysinfo isn't a supported argument. I have no sh
command. But here's cc
info:
C:\MyProjects\___MECHANIKOS\GPUCloudDeepLearningResearch>cc -v Using built-in specs. COLLECT_GCC=cc COLLECT_LTO_WRAPPER=C:/Program\ Files/Haskell\ Platform/8.2.1/mingw/bin/../lib/gcc/x86_64-w64-mingw32/6.2.0/lto-wrapper.exe Target: x86_64-w64-mingw32 Configured with: ../gcc-6.2.0/configure --prefix=/mingw64 --with-local-prefix=/mingw64/local --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --with-native-system-header-dir=/mingw64/x86_64-w64-mingw32/include --libexecdir=/mingw64/lib --enable-bootstrap --with-arch=x86-64 --with-tune=generic --enable-languages=c,lto,c++,objc,obj-c++,fortran,ada --enable-shared --enable-static --enable-libatomic --enable-threads=posix --enable-graphite --enable-fully-dynamic-string --enable-libstdcxx-time=yes --disable-libstdcxx-pch --disable-libstdcxx-debug --disable-isl-version-check --enable-lto --enable-libgomp --disable-multilib --enable-checking=release --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-libiconv --with-system-zlib --with-gmp=/mingw64 --with-mpfr=/mingw64 --with-mpc=/mingw64 --with-isl=/mingw64 --with-pkgversion='Rev2, Built by MSYS2 project' --with-bugurl=https://sourceforge.net/projects/msys2 --with-gnu-as --with-gnu-ld Thread model: posix gcc version 6.2.0 (Rev2, Built by MSYS2 project)
Thanks, that's helpful. I tried installing Haskell Platform 8.2.1 to reproduce this build environment, but it doesn't seem to include make
. Do you remember how you installed make
? Does make --version
say anything?
C:\MyProjects___MECHANIKOS\GPUCloudDeepLearningResearch>where make
C:\D\dmd2\windows\bin\make.exe C:\MyProjects___MECHANIKOS\GPUCloudDeepLearningResearch>
It's part of DMD2 installation (D language)
I have so many build systems installed already like VS 2017 community.
Let me know which one to add to the pile.
Thanks.
-EnjoysMath
On Tue, Sep 11, 2018 at 4:51 PM Ian Henderson notifications@github.com wrote:
Thanks, that's helpful. I tried installing Haskell Platform 8.2.1 to reproduce this build environment, but it doesn't seem to include make. Do you remember how you installed make? Does make --version say anything?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ianh/owl/issues/10#issuecomment-420464352, or mute the thread https://github.com/notifications/unsubscribe-auth/ABiC913D30Wy_8Qgl966fEuInYCZEuRSks5uaExpgaJpZM4WjE88 .
It looks like the best way is to install MSYS2, which provides its own environment. Then you can run (within the MSYS2 MSYS shell):
$ pacman -S git gcc make
$ git clone https://github.com/ianh/owl.git
$ cd owl
$ make
If you're on Windows 10, nothing is easier than just enabling/installing WSL from the Windows Store.
I've been testing in MSYS2 successfully for a while, so I'm going to close this. Feel free to open a new issue if it isn't working for you or if you have any other questions.
What build tools do I need to get this to work?