diff --git a/Dockerfile b/Dockerfile index 931d87bd6..ad921a161 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,6 +19,10 @@ RUN apt-get install -y \ ninja-build \ valgrind \ python3 \ + mingw-w64 \ + mingw-w64-tools \ + mingw-w64-i686-dev \ + mingw-w64-x86-64-dev \ curl RUN git clone --branch v1.6.1 https://gitee.com/mirrors/google-benchmark benchmark && \ diff --git a/tools/pikaByteCodeGen/cross-win.sh b/tools/pikaByteCodeGen/cross-win.sh index 0b60ab150..844c5ffd4 100644 --- a/tools/pikaByteCodeGen/cross-win.sh +++ b/tools/pikaByteCodeGen/cross-win.sh @@ -1 +1 @@ -rm build-win -rf && mkdir build-win && cd build-win && cmake --toolchain ../CrossCompile.cmake .. && make -j +rm build-win -rf && mkdir build-win && cd build-win && cmake -DCMAKE_TOOLCHAIN_FILE=../CrossCompile.cmake .. && make -j