File:  [parser3project] / win32 / gc / compile.cmd
Revision 1.11: download - view: text, annotated - select for diffs - revision graph
Fri Oct 9 17:36:52 2026 UTC (3 weeks, 3 days ago) by moko
Branches: MAIN
CVS tags: HEAD
gc updated to gc-8.2.12 (related to feature #1268)

@echo off
REM Builds gc.lib (static, /MT and /MTd) for Win32 with the VS2017 (v141) toolset: Debug\gc.lib and Release\gc.lib next to this script.
REM Run it from the unpacked gc source directory (see source.url); libatomic_ops must be unpacked to its "libatomic_ops" subdirectory.
REM NT_MAKEFILE next to this script is the original one from the gc sources patched with NT_MAKEFILE.diff.

call "C:\Program Files\Microsoft Visual Studio\18\Community\VC\Auxiliary\Build\vcvarsall.bat" x86 -vcvars_ver=14.16 || exit /b 1

copy /Y "%~dp0NT_MAKEFILE" NT_MAKEFILE || exit /b 1

nmake -f NT_MAKEFILE clean
nmake -f NT_MAKEFILE cpu=i386 enable_static=1 gc.lib || exit /b 1
copy /Y gc.lib "%~dp0Debug\gc.lib" || exit /b 1

nmake -f NT_MAKEFILE clean
nmake -f NT_MAKEFILE cpu=i386 enable_static=1 nodebug=1 gc.lib || exit /b 1
copy /Y gc.lib "%~dp0Release\gc.lib" || exit /b 1

nmake -f NT_MAKEFILE clean

E-mail: