[gambit-list] Trouble building using misc\vc2012.bat

C K Kashyap ckkashyap at gmail.com
Thu Feb 9 10:05:40 EST 2017


Here's the output after pulling your changes (and chainging 11 to 15 for
vcvars32) -

C:\Users\ckk\gambit>misc\vc2012.bat

C:\Users\ckk\gambit>setlocal

C:\Users\ckk\gambit>set COMP_GEN=cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\"

C:\Users\ckk\gambit>if not "" == "" (set COMP_GEN=cl -nologo -Oityb1 -Zi
-GS -RTC1 -MT -D_CRT_SECURE_NO_DEPRECATE -c -I..\include
-D___SYS_TYPE_CPU=\"i686\" -D___SYS_TYPE_VENDOR=\"pc\"
-D___SYS_TYPE_OS=\"visualc\" -D___GAMBITDIR=\"\" )

C:\Users\ckk\gambit>set COMP_LIB_MH=cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY

C:\Users\ckk\gambit>set COMP_LIB_PR_MH=cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___PRIMAL

C:\Users\ckk\gambit>set COMP_LIB=cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___SINGLE_HOST

C:\Users\ckk\gambit>set COMP_LIB_PR=cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___PRIMAL -D___SINGLE_HOST

C:\Users\ckk\gambit>set COMP_APP=cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___SINGLE_HOST

C:\Users\ckk\gambit>echo #ifndef ___VOIDSTAR_WIDTH
 1>include\gambit.h

C:\Users\ckk\gambit>echo #define ___VOIDSTAR_WIDTH ___LONG_WIDTH
1>>include\gambit.h

C:\Users\ckk\gambit>echo #endif
 1>>include\gambit.h

C:\Users\ckk\gambit>echo #ifndef ___MAX_CHR
 1>>include\gambit.h

C:\Users\ckk\gambit>echo #define ___MAX_CHR 0x10ffff
1>>include\gambit.h

C:\Users\ckk\gambit>echo #endif
 1>>include\gambit.h

C:\Users\ckk\gambit>echo #ifndef ___SINGLE_VM
 1>>include\gambit.h

C:\Users\ckk\gambit>echo #ifndef ___MULTIPLE_VMS
1>>include\gambit.h

C:\Users\ckk\gambit>echo #define ___SINGLE_VM
 1>>include\gambit.h

C:\Users\ckk\gambit>echo #endif
 1>>include\gambit.h

C:\Users\ckk\gambit>echo #endif
 1>>include\gambit.h

C:\Users\ckk\gambit>echo #ifndef ___SINGLE_THREADED_VMS
 1>>include\gambit.h

C:\Users\ckk\gambit>echo #ifndef ___MULTIPLE_THREADED_VMS
 1>>include\gambit.h

C:\Users\ckk\gambit>echo #define ___SINGLE_THREADED_VMS
 1>>include\gambit.h

C:\Users\ckk\gambit>echo #endif
 1>>include\gambit.h

C:\Users\ckk\gambit>echo #endif
 1>>include\gambit.h

C:\Users\ckk\gambit>echo #ifndef ___USE_POSIX_THREAD_SYSTEM
 1>>include\gambit.h

C:\Users\ckk\gambit>echo #ifndef ___USE_WIN32_THREAD_SYSTEM
 1>>include\gambit.h

C:\Users\ckk\gambit>echo #define ___USE_WIN32_THREAD_SYSTEM
 1>>include\gambit.h

C:\Users\ckk\gambit>echo #endif
 1>>include\gambit.h

C:\Users\ckk\gambit>echo #endif
 1>>include\gambit.h

C:\Users\ckk\gambit>echo #ifndef ___NO_THREAD_LOCAL_STORAGE_CLASS
 1>>include\gambit.h

C:\Users\ckk\gambit>echo #ifndef ___THREAD_LOCAL_STORAGE_CLASS
1>>include\gambit.h

C:\Users\ckk\gambit>echo #define ___NO_THREAD_LOCAL_STORAGE_CLASS
 1>>include\gambit.h

C:\Users\ckk\gambit>echo #endif
 1>>include\gambit.h

C:\Users\ckk\gambit>echo #endif
 1>>include\gambit.h

C:\Users\ckk\gambit>echo #ifndef ___HAVE_CONDITION_VARIABLE
 1>>include\gambit.h

C:\Users\ckk\gambit>echo #ifndef ___DONT_HAVE_CONDITION_VARIABLE
1>>include\gambit.h

C:\Users\ckk\gambit>echo #define ___DONT_HAVE_CONDITION_VARIABLE
1>>include\gambit.h

C:\Users\ckk\gambit>echo #endif
 1>>include\gambit.h

C:\Users\ckk\gambit>echo #endif
 1>>include\gambit.h

C:\Users\ckk\gambit>echo #ifndef ___NO_ACTIVITY_LOG
 1>>include\gambit.h

C:\Users\ckk\gambit>echo #ifndef ___ACTIVITY_LOG
1>>include\gambit.h

C:\Users\ckk\gambit>echo #define ___NO_ACTIVITY_LOG
 1>>include\gambit.h

C:\Users\ckk\gambit>echo #endif
 1>>include\gambit.h

C:\Users\ckk\gambit>echo #endif
 1>>include\gambit.h

C:\Users\ckk\gambit>echo #ifndef ___BOOL
1>>include\gambit.h

C:\Users\ckk\gambit>echo #define ___BOOL int
1>>include\gambit.h

C:\Users\ckk\gambit>echo #endif
 1>>include\gambit.h

C:\Users\ckk\gambit>type include\gambit.h.in
1>>include\gambit.h

C:\Users\ckk\gambit>cd lib

C:\Users\ckk\gambit\lib>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___PRIMAL -D___SINGLE_HOST main.c
main.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\lib>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___PRIMAL -D___SINGLE_HOST setup.c
setup.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\lib>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___PRIMAL -D___SINGLE_HOST mem.c
mem.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\lib>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___PRIMAL -D___SINGLE_HOST os_setup.c
os_setup.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\lib>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___PRIMAL -D___SINGLE_HOST os_base.c
os_base.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\lib>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___PRIMAL -D___SINGLE_HOST os_time.c
os_time.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax
os_time.c(1561): warning C4113: 'DWORD (__stdcall *)()' differs in
parameter lists from 'LPTHREAD_START_ROUTINE'

C:\Users\ckk\gambit\lib>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___PRIMAL -D___SINGLE_HOST os_shell.c
os_shell.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\lib>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___PRIMAL -D___SINGLE_HOST os_files.c
os_files.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\lib>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___PRIMAL -D___SINGLE_HOST os_dyn.c
os_dyn.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\lib>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___PRIMAL -D___SINGLE_HOST os_tty.c
os_tty.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax
os_tty.c(883): warning C4113: 'BOOL (__stdcall *)()' differs in parameter
lists from 'PHANDLER_ROUTINE'
os_tty.c(8582): warning C4113: 'BOOL (__stdcall *)()' differs in parameter
lists from 'PHANDLER_ROUTINE'
os_tty.c(8603): warning C4113: 'BOOL (__stdcall *)()' differs in parameter
lists from 'PHANDLER_ROUTINE'

C:\Users\ckk\gambit\lib>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___PRIMAL -D___SINGLE_HOST os_io.c
os_io.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\lib>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___PRIMAL -D___SINGLE_HOST os_thread.c
os_thread.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax
os_thread.c(135): warning C4113: 'DWORD (__stdcall *)()' differs in
parameter lists from 'LPTHREAD_START_ROUTINE'
os_thread.c(400): error C2371: '___set_tls_ptr': redefinition; different
basic types
os_thread.c(544): error C2039: 'hash_mutex': is not a member of
'___thread_module_struct'
c:\users\ckk\gambit\lib\os_thread.h(19): note: see declaration of
'___thread_module_struct'

C:\Users\ckk\gambit\lib>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___PRIMAL -D___SINGLE_HOST c_intf.c
c_intf.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\lib>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___PRIMAL -D___SINGLE_HOST _kernel.c
_kernel.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\lib>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___PRIMAL -D___SINGLE_HOST _system.c
_system.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\lib>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___PRIMAL _num.c
_num.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\lib>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___PRIMAL -D___SINGLE_HOST _std.c
_std.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\lib>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___PRIMAL -D___SINGLE_HOST _eval.c
_eval.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\lib>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___PRIMAL _io.c
_io.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\lib>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___PRIMAL -D___SINGLE_HOST _nonstd.c
_nonstd.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\lib>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___PRIMAL -D___SINGLE_HOST _thread.c
_thread.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\lib>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___PRIMAL -D___SINGLE_HOST _repl.c
_repl.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\lib>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___PRIMAL -D___SINGLE_HOST _gambit.c
_gambit.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\lib>lib -out:libgambc.lib main.obj setup.obj mem.obj
os_setup.obj os_base.obj os_time.obj os_shell.obj os_files.obj os_dyn.obj
os_tty.obj os_io.obj os_thread.obj c_intf.obj _kernel.obj _system.obj
_num.obj _std.obj _eval.obj _io.obj _nonstd.obj _thread.obj _repl.obj
_gambit.obj
Microsoft (R) Library Manager Version 14.00.24210.0
Copyright (C) Microsoft Corporation.  All rights reserved.


C:\Users\ckk\gambit\lib>cd ..

C:\Users\ckk\gambit>cd gsi

C:\Users\ckk\gambit\gsi>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___SINGLE_HOST _gsilib.c
_gsilib.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\gsi>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___SINGLE_HOST _gambitgsi.c
_gambitgsi.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\gsi>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___SINGLE_HOST
_gsi.c
_gsi.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\gsi>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___SINGLE_HOST
_gsi_.c
_gsi_.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\gsi>cl -Fegsi.exe ..\lib\libgambc.lib _gsilib.obj
_gambitgsi.obj _gsi.obj _gsi_.obj Kernel32.Lib User32.Lib Gdi32.Lib
WS2_32.Lib
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24210 for x86
Copyright (C) Microsoft Corporation.  All rights reserved.

Microsoft (R) Incremental Linker Version 14.00.24210.0
Copyright (C) Microsoft Corporation.  All rights reserved.

/out:gsi.exe
..\lib\libgambc.lib
_gsilib.obj
_gambitgsi.obj
_gsi.obj
_gsi_.obj
Kernel32.Lib
User32.Lib
Gdi32.Lib
WS2_32.Lib
libgambc.lib(os_dyn.obj) : error LNK2001: unresolved external symbol
____get_tls_ptr
libgambc.lib(os_shell.obj) : error LNK2001: unresolved external symbol
____get_tls_ptr
libgambc.lib(os_tty.obj) : error LNK2001: unresolved external symbol
____get_tls_ptr
libgambc.lib(os_files.obj) : error LNK2001: unresolved external symbol
____get_tls_ptr
libgambc.lib(setup.obj) : error LNK2001: unresolved external symbol
____get_tls_ptr
libgambc.lib(os_base.obj) : error LNK2001: unresolved external symbol
____get_tls_ptr
libgambc.lib(os_io.obj) : error LNK2001: unresolved external symbol
____get_tls_ptr
libgambc.lib(os_setup.obj) : error LNK2001: unresolved external symbol
____get_tls_ptr
libgambc.lib(setup.obj) : error LNK2019: unresolved external symbol
____set_tls_ptr referenced in function _setup_dynamic_linking
libgambc.lib(setup.obj) : error LNK2019: unresolved external symbol
____setup_actlog_vmstate referenced in function ____setup_vmstate
libgambc.lib(setup.obj) : error LNK2019: unresolved external symbol
____cleanup_actlog_vmstate referenced in function ____cleanup_vmstate
libgambc.lib(setup.obj) : error LNK2019: unresolved external symbol
____actlog_start_pstate referenced in function _execute_sync_op
libgambc.lib(setup.obj) : error LNK2019: unresolved external symbol
____actlog_stop_pstate referenced in function _execute_sync_op
libgambc.lib(mem.obj) : error LNK2019: unresolved external symbol
____setup_actlog_pstate referenced in function ____setup_mem_pstate
gsi.exe : fatal error LNK1120: 7 unresolved externals

C:\Users\ckk\gambit\gsi>cd ..

C:\Users\ckk\gambit>cd gsc

C:\Users\ckk\gambit\gsc>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___SINGLE_HOST _host.c
_host.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\gsc>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___SINGLE_HOST _utils.c
_utils.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\gsc>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___SINGLE_HOST _source.c
_source.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\gsc>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___SINGLE_HOST _parms.c
_parms.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\gsc>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___SINGLE_HOST _env.c
_env.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\gsc>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___SINGLE_HOST _ptree1.c
_ptree1.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\gsc>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___SINGLE_HOST _ptree2.c
_ptree2.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\gsc>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___SINGLE_HOST _gvm.c
_gvm.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\gsc>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___SINGLE_HOST _back.c
_back.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\gsc>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___SINGLE_HOST _front.c
_front.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\gsc>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___SINGLE_HOST _prims.c
_prims.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\gsc>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___SINGLE_HOST _assert.c
_assert.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\gsc>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___SINGLE_HOST _asm.c
_asm.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\gsc>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___SINGLE_HOST _x86.c
_x86.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\gsc>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___SINGLE_HOST _codegen.c
_codegen.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\gsc>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___SINGLE_HOST _t-univ-1.c
_t-univ-1.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\gsc>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___SINGLE_HOST _t-univ-2.c
_t-univ-2.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\gsc>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___SINGLE_HOST _t-univ-3.c
_t-univ-3.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\gsc>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___SINGLE_HOST _t-univ-4.c
_t-univ-4.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\gsc>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___SINGLE_HOST _t-c-1.c
_t-c-1.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\gsc>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___SINGLE_HOST _t-c-2.c
_t-c-2.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\gsc>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___SINGLE_HOST _t-c-3.c
_t-c-3.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\gsc>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___SINGLE_HOST _gsclib.c
_gsclib.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\gsc>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___LIBRARY
-D___SINGLE_HOST _gambitgsc.c
_gambitgsc.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\gsc>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___SINGLE_HOST
_gsc.c
_gsc.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\gsc>cl -nologo -Oityb1 -Zi -GS -RTC1 -MT
-D_CRT_SECURE_NO_DEPRECATE -c -I..\include -D___SYS_TYPE_CPU=\"i686\"
-D___SYS_TYPE_VENDOR=\"pc\" -D___SYS_TYPE_OS=\"visualc\" -D___SINGLE_HOST
_gsc_.c
_gsc_.c
C:\Users\ckk\gambit\include\gambit.h(1338): error C2007: #define syntax

C:\Users\ckk\gambit\gsc>cl -Fegsc.exe ..\lib\libgambc.lib _host.obj
_utils.obj _source.obj _parms.obj _env.obj _ptree1.obj _ptree2.obj _gvm.obj
_back.obj _front.obj _prims.obj _assert.obj _asm.obj _x86.obj _codegen.obj
_t-univ-1.obj _t-univ-2.obj _t-univ-3.obj _t-univ-4.obj _t-c-1.obj
_t-c-2.obj _t-c-3.obj _gsclib.obj _gambitgsc.obj _gsc.obj _gsc_.obj
Kernel32.Lib User32.Lib Gdi32.Lib WS2_32.Lib
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24210 for x86
Copyright (C) Microsoft Corporation.  All rights reserved.

Microsoft (R) Incremental Linker Version 14.00.24210.0
Copyright (C) Microsoft Corporation.  All rights reserved.

/out:gsc.exe
..\lib\libgambc.lib
_host.obj
_utils.obj
_source.obj
_parms.obj
_env.obj
_ptree1.obj
_ptree2.obj
_gvm.obj
_back.obj
_front.obj
_prims.obj
_assert.obj
_asm.obj
_x86.obj
_codegen.obj
_t-univ-1.obj
_t-univ-2.obj
_t-univ-3.obj
_t-univ-4.obj
_t-c-1.obj
_t-c-2.obj
_t-c-3.obj
_gsclib.obj
_gambitgsc.obj
_gsc.obj
_gsc_.obj
Kernel32.Lib
User32.Lib
Gdi32.Lib
WS2_32.Lib
LINK : fatal error LNK1181: cannot open input file '_gambitgsc.obj'

C:\Users\ckk\gambit\gsc>cd ..

C:\Users\ckk\gambit>cd bin

C:\Users\ckk\gambit\bin>echo @echo off 1>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo.1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo rem Script parameters are passed in the
following environment variables: 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo rem   GSC_CC_O_GAMBCDIR_BIN 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo rem   GSC_CC_O_GAMBCDIR_INCLUDE 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo rem   GSC_CC_O_GAMBCDIR_LIB 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo rem   GSC_CC_O_OBJ_FILENAME 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo rem   GSC_CC_O_C_FILENAME_DIR 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo rem   GSC_CC_O_C_FILENAME_BASE 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo rem   GSC_CC_O_CC_OPTIONS 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo rem   GSC_CC_O_LD_OPTIONS_PRELUDE
1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo rem   GSC_CC_O_LD_OPTIONS 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo.1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo rem echo GSC_CC_O_GAMBCDIR_BIN =
%GSC_CC_O_GAMBCDIR_BIN% 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo rem echo GSC_CC_O_GAMBCDIR_INCLUDE =
%GSC_CC_O_GAMBCDIR_INCLUDE% 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo rem echo GSC_CC_O_GAMBCDIR_LIB =
%GSC_CC_O_GAMBCDIR_LIB% 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo rem echo GSC_CC_O_OBJ_FILENAME =
%GSC_CC_O_OBJ_FILENAME% 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo rem echo GSC_CC_O_C_FILENAME_DIR =
%GSC_CC_O_C_FILENAME_DIR% 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo rem echo GSC_CC_O_C_FILENAME_BASE =
%GSC_CC_O_C_FILENAME_BASE% 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo rem echo GSC_CC_O_CC_OPTIONS =
%GSC_CC_O_CC_OPTIONS% 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo rem echo GSC_CC_O_LD_OPTIONS_PRELUDE =
%GSC_CC_O_LD_OPTIONS_PRELUDE% 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo rem echo GSC_CC_O_LD_OPTIONS =
%GSC_CC_O_LD_OPTIONS% 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo.1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo for %%f in (cl.exe gcc.exe wcl386.exe) do if
not "%%~$PATH:f" == "" goto use_%%%f 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo.1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo echo gcc.exe, wcl386.exe and cl.exe were not
found in the PATH.  Make sure MinGW, OpenWatcom or Visual C++ Express is
installed. 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo exit 1  1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo.1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo :use_gcc.exe 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo cd "%GSC_CC_O_C_FILENAME_DIR%" 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo gcc.exe -mno-cygwin -Wall -W -Wno-unused -O1
-fno-math-errno -fschedule-insns2 -fno-trapping-math -fno-strict-aliasing
-fwrapv -fno-common -mieee-fp -shared -I"%GSC_CC_O_GAMBCDIR_INCLUDE%"
-D___DYNAMIC -D___SINGLE_HOST -o "%GSC_CC_O_OBJ_FILENAME%"
%GSC_CC_O_CC_OPTIONS% %GSC_CC_O_LD_OPTIONS_PRELUDE%
"%GSC_CC_O_C_FILENAME_BASE%" %GSC_CC_O_LD_OPTIONS% 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo goto end 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo.1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo :use_wcl386.exe 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo cd "%GSC_CC_O_C_FILENAME_DIR%" 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo wcl386.exe -w0 -zp4 -zq -obetir -bm -3r -bt=nt
-mf -bd -I"%GSC_CC_O_GAMBCDIR_INCLUDE%" -D___DYNAMIC -D___SINGLE_HOST
-l=nt_dll -fe="%GSC_CC_O_OBJ_FILENAME%" %GSC_CC_O_CC_OPTIONS%
%GSC_CC_O_LD_OPTIONS_PRELUDE% "%GSC_CC_O_C_FILENAME_BASE%"
%GSC_CC_O_LD_OPTIONS% 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo goto end 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo.1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo :use_cl.exe 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo cd "%GSC_CC_O_C_FILENAME_DIR%" 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo cl.exe -nologo -Oityb1 -MT
-D_CRT_SECURE_NO_DEPRECATE -LD -I"%GSC_CC_O_GAMBCDIR_INCLUDE%" -D___DYNAMIC
-D___SINGLE_HOST -Fe"%GSC_CC_O_OBJ_FILENAME%" %GSC_CC_O_CC_OPTIONS%
%GSC_CC_O_LD_OPTIONS_PRELUDE% "%GSC_CC_O_C_FILENAME_BASE%"
%GSC_CC_O_LD_OPTIONS% 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo goto end 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo.1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo :use_build_time_c_compiler 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo cd "%GSC_CC_O_C_FILENAME_DIR%" 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo gcc.exe -mno-cygwin -Wall -W -Wno-unused -O1
-fno-math-errno -fschedule-insns2 -fno-trapping-math -fno-strict-aliasing
-fwrapv -fno-common -mieee-fp -shared -I"%GSC_CC_O_GAMBCDIR_INCLUDE%"
-D___DYNAMIC -D___SINGLE_HOST -o "%GSC_CC_O_OBJ_FILENAME%"
%GSC_CC_O_CC_OPTIONS% %GSC_CC_O_LD_OPTIONS_PRELUDE%
"%GSC_CC_O_C_FILENAME_BASE%" %GSC_CC_O_LD_OPTIONS% 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo goto end 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo.1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo :end 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo.1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>echo exit 1>>gsc-cc-o.bat

C:\Users\ckk\gambit\bin>cd ..

C:\Users\ckk\gambit>gvim C:\Users\ckk\gambit\include\gambit.h +1338

C:\Users\ckk\gambit>

Regards,
Kashyap

On Thu, Feb 9, 2017 at 6:52 AM, Marc Feeley <feeley at iro.umontreal.ca> wrote:

> The build batch files for Windows are out of date. I don’t update them
> regularly because few people use them, and it is a hassle to test them.
> I’ve commited an update to the batch files, so please try them out and
> report any problems.
>
> Marc
>
>
> > On Feb 9, 2017, at 9:16 AM, C K Kashyap <ckkashyap at gmail.com> wrote:
> >
> > Hi,
> >
> > I tried to use misc\vc2012.bat to build gambit on windows using VS2105.
> I changed vc2012.bat to point to the right vcvars32.bat (by changing 11 to
> 14)
> >
> > >> @call "%ProgramFiles(x86)%\Microsoft Visual Studio
> 14.0\VC\bin\vcvars32.bat"
> >
> > When I ran vc2012.bat, I got errors complaining about #define syntax in
> gambit.h, and config.h not found in os_thread.c
> >
> > >> C:\Users\ckk\gambit\include\gambit.h(1360): error C2007: #define
> syntax
> >
> > So I removed the following lines from gambit.h and renamed config.h.in
> to config.h
> >
> > >> #ifndef ___NO_ACTIVITY_LOG
> > >> #ifndef ___ACTIVITY_LOG
> > >> #define @CONF_ACTIVITY_LOG@
> > >> #endif
> > >> #endif
> >
> > That got rid of the above errors but then I noticed the error about
> missing _gambc.c - not sure what to do about it because I don't see it in
> the repo. Have I missed something?
> >
> > Regards,
> > Kashyap
> >
> > _______________________________________________
> > Gambit-list mailing list
> > Gambit-list at iro.umontreal.ca
> > https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20170209/ac931732/attachment.htm>


More information about the Gambit-list mailing list