[gambit-list] How to build with Visual C++ 11 (2012)
Ralph Moritz
ralph.moeritz at outlook.com
Fri Apr 12 07:55:12 EDT 2013
Marc Feeley <feeley <at> iro.umontreal.ca> writes:
> By the way, what were the errors you got?
I'm including *all* the output from vc2008.bat below. Sorry for the large
message!
C:\repos\git\gambit\misc>setlocal
C:\repos\git\gambit\misc>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:\repos\git\gambit\misc>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___GAMBCDIR=\"\" )
C:\repos\git\gambit\misc>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:\repos\git\gambit\misc>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:\repos\git\gambit\misc>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:\repos\git\gambit\misc>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:\repos\git\gambit\misc>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:\repos\git\gambit\misc>echo #ifndef ___VOIDSTAR_WIDTH
1>include\gambit.h
The system cannot find the path specified.
C:\repos\git\gambit\misc>echo #define ___VOIDSTAR_WIDTH ___LONG_WIDTH
1>>include\gambit.h
The system cannot find the path specified.
C:\repos\git\gambit\misc>echo #endif
1>>include\gambit.h
The system cannot find the path specified.
C:\repos\git\gambit\misc>echo #ifndef ___MAX_CHR
1>>include\gambit.h
The system cannot find the path specified.
C:\repos\git\gambit\misc>echo #define ___MAX_CHR 0x10ffff
1>>include\gambit.h
The system cannot find the path specified.
C:\repos\git\gambit\misc>echo #endif
1>>include\gambit.h
The system cannot find the path specified.
C:\repos\git\gambit\misc>type include\gambit.h.in
1>>include\gambit.h
The system cannot find the path specified.
C:\repos\git\gambit\misc>cd lib
The system cannot find the path specified.
C:\repos\git\gambit\misc>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
c1 : fatal error C1083: Cannot open source file: 'main.c': No such file or
directory
C:\repos\git\gambit\misc>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
c1 : fatal error C1083: Cannot open source file: 'setup.c': No such file or
directory
C:\repos\git\gambit\misc>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
c1 : fatal error C1083: Cannot open source file: 'mem.c': No such file or
directory
C:\repos\git\gambit\misc>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.c
os.c
c1 : fatal error C1083: Cannot open source file: 'os.c': No such file or
directory
C:\repos\git\gambit\misc>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
c1 : fatal error C1083: Cannot open source file: 'os_base.c': No such file
or directory
C:\repos\git\gambit\misc>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
c1 : fatal error C1083: Cannot open source file: 'os_time.c': No such file
or directory
C:\repos\git\gambit\misc>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
c1 : fatal error C1083: Cannot open source file: 'os_shell.c': No such file
or directory
C:\repos\git\gambit\misc>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
c1 : fatal error C1083: Cannot open source file: 'os_files.c': No such file
or directory
C:\repos\git\gambit\misc>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
c1 : fatal error C1083: Cannot open source file: 'os_dyn.c': No such file or
directory
C:\repos\git\gambit\misc>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
c1 : fatal error C1083: Cannot open source file: 'os_tty.c': No such file or
directory
C:\repos\git\gambit\misc>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
c1 : fatal error C1083: Cannot open source file: 'os_io.c': No such file or
directory
C:\repos\git\gambit\misc>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
c1 : fatal error C1083: Cannot open source file: 'c_intf.c': No such file or
directory
C:\repos\git\gambit\misc>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
c1 : fatal error C1083: Cannot open source file: '_kernel.c': No such file
or directory
C:\repos\git\gambit\misc>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
c1 : fatal error C1083: Cannot open source file: '_system.c': No such file
or directory
C:\repos\git\gambit\misc>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
c1 : fatal error C1083: Cannot open source file: '_num.c': No such file or
directory
C:\repos\git\gambit\misc>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
c1 : fatal error C1083: Cannot open source file: '_std.c': No such file or
directory
C:\repos\git\gambit\misc>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
c1 : fatal error C1083: Cannot open source file: '_eval.c': No such file or
directory
C:\repos\git\gambit\misc>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
c1 : fatal error C1083: Cannot open source file: '_io.c': No such file or
directory
C:\repos\git\gambit\misc>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
c1 : fatal error C1083: Cannot open source file: '_nonstd.c': No such file
or directory
C:\repos\git\gambit\misc>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
c1 : fatal error C1083: Cannot open source file: '_thread.c': No such file
or directory
C:\repos\git\gambit\misc>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
c1 : fatal error C1083: Cannot open source file: '_repl.c': No such file or
directory
C:\repos\git\gambit\misc>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 _gambc.c
_gambc.c
c1 : fatal error C1083: Cannot open source file: '_gambc.c': No such file or
directory
C:\repos\git\gambit\misc>lib -out:libgambc.lib main.obj setup.obj mem.obj
os.obj os_base.obj os_time.obj os_shell.obj os_files.obj os_dyn.obj
os_tty.obj os_io.obj c_intf.obj _kernel.obj _system.obj _num.obj _std.obj
_eval.obj _io.obj _nonstd.obj _thread.obj _repl.obj _gambc.obj
Microsoft (R) Library Manager Version 11.00.60315.1
Copyright (C) Microsoft Corporation. All rights reserved.
LINK : fatal error LNK1181: cannot open input file 'main.obj'
C:\repos\git\gambit\misc>cd ..
C:\repos\git\gambit>cd gsi
C:\repos\git\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:\repos\git\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 _gambcgsi.c
_gambcgsi.c
C:\repos\git\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:\repos\git\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:\repos\git\gambit\gsi>cl -Fegsi.exe ..\lib\libgambc.lib _gsilib.obj
_gambcgsi.obj _gsi.obj _gsi_.obj Kernel32.Lib User32.Lib Gdi32.Lib
WS2_32.Lib
Microsoft (R) C/C++ Optimizing Compiler Version 17.00.60315.1 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
Microsoft (R) Incremental Linker Version 11.00.60315.1
Copyright (C) Microsoft Corporation. All rights reserved.
/out:gsi.exe
..\lib\libgambc.lib
_gsilib.obj
_gambcgsi.obj
_gsi.obj
_gsi_.obj
Kernel32.Lib
User32.Lib
Gdi32.Lib
WS2_32.Lib
_gsi.obj : error LNK2001: unresolved external symbol
____S__23__23_type_2d_18_2d_2babe060_2d_9af6_2d_456f_2d_a26e_2d_40b592f690ec
_gsi.obj : error LNK2001: unresolved external symbol
____S__23__23_type_2d_36_2d_85099702_2d_35ec_2d_4cb8_2d_ae55_2d_13c4b9b05d10
_gsi.obj : error LNK2001: unresolved external symbol
____S_io_2d_exception_2d_handler
gsi.exe : fatal error LNK1120: 3 unresolved externals
C:\repos\git\gambit\gsi>cd ..
C:\repos\git\gambit>cd gsc
C:\repos\git\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:\repos\git\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:\repos\git\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:\repos\git\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:\repos\git\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:\repos\git\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:\repos\git\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:\repos\git\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:\repos\git\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:\repos\git\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:\repos\git\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:\repos\git\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:\repos\git\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:\repos\git\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:\repos\git\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:\repos\git\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 _gambcgsc.c
_gambcgsc.c
C:\repos\git\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:\repos\git\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:\repos\git\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 _t-c-1.obj _t-c-2.obj _t-c-3.obj _gsclib.obj
_gambcgsc.obj _gsc.obj _gsc_.obj Kernel32.Lib User32.Lib Gdi32.Lib
WS2_32.Lib
Microsoft (R) C/C++ Optimizing Compiler Version 17.00.60315.1 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
Microsoft (R) Incremental Linker Version 11.00.60315.1
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
_t-c-1.obj
_t-c-2.obj
_t-c-3.obj
_gsclib.obj
_gambcgsc.obj
_gsc.obj
_gsc_.obj
Kernel32.Lib
User32.Lib
Gdi32.Lib
WS2_32.Lib
_source.obj : error LNK2001: unresolved external symbol
____S__23__23_type_2d_9_2d_edd21ef2_2d_ee48_2d_407f_2d_a9a9_2d_c1c361078e55
_source.obj : error LNK2001: unresolved external symbol ____S_read_2d_cont
_gambcgsc.obj : error LNK2001: unresolved external symbol _____20___assert
_gambcgsc.obj : error LNK2001: unresolved external symbol _____20___asm
_gambcgsc.obj : error LNK2001: unresolved external symbol _____20___x86
_gambcgsc.obj : error LNK2001: unresolved external symbol _____20___codegen
_gambcgsc.obj : error LNK2001: unresolved external symbol
_____20___t_2d_univ
_gsc.obj : error LNK2001: unresolved external symbol
____S__23__23_type_2d_18_2d_2babe060_2d_9af6_2d_456f_2d_a26e_2d_40b592f690ec
_gsc.obj : error LNK2001: unresolved external symbol
____S__23__23_type_2d_36_2d_85099702_2d_35ec_2d_4cb8_2d_ae55_2d_13c4b9b05d10
_gsc.obj : error LNK2001: unresolved external symbol
____S_io_2d_exception_2d_handler
gsc.exe : fatal error LNK1120: 10 unresolved externals
C:\repos\git\gambit\gsc>cd ..
C:\repos\git\gambit>cd bin
C:\repos\git\gambit\bin>echo @echo off 1>gsc-cc-o.bat
C:\repos\git\gambit\bin>echo.1>>gsc-cc-o.bat
C:\repos\git\gambit\bin>echo rem Script parameters are passed in the
following environment variables: 1>>gsc-cc-o.bat
C:\repos\git\gambit\bin>echo rem GSC_CC_O_GAMBCDIR_BIN 1>>gsc-cc-o.bat
C:\repos\git\gambit\bin>echo rem GSC_CC_O_GAMBCDIR_INCLUDE 1>>gsc-cc-o.bat
C:\repos\git\gambit\bin>echo rem GSC_CC_O_GAMBCDIR_LIB 1>>gsc-cc-o.bat
C:\repos\git\gambit\bin>echo rem GSC_CC_O_OBJ_FILENAME 1>>gsc-cc-o.bat
C:\repos\git\gambit\bin>echo rem GSC_CC_O_C_FILENAME_DIR 1>>gsc-cc-o.bat
C:\repos\git\gambit\bin>echo rem GSC_CC_O_C_FILENAME_BASE 1>>gsc-cc-o.bat
C:\repos\git\gambit\bin>echo rem GSC_CC_O_CC_OPTIONS 1>>gsc-cc-o.bat
C:\repos\git\gambit\bin>echo rem GSC_CC_O_LD_OPTIONS_PRELUDE 1>>gsc-cc-
o.bat
C:\repos\git\gambit\bin>echo rem GSC_CC_O_LD_OPTIONS 1>>gsc-cc-o.bat
C:\repos\git\gambit\bin>echo.1>>gsc-cc-o.bat
C:\repos\git\gambit\bin>echo rem echo GSC_CC_O_GAMBCDIR_BIN =
%GSC_CC_O_GAMBCDIR_BIN% 1>>gsc-cc-o.bat
C:\repos\git\gambit\bin>echo rem echo GSC_CC_O_GAMBCDIR_INCLUDE =
%GSC_CC_O_GAMBCDIR_INCLUDE% 1>>gsc-cc-o.bat
C:\repos\git\gambit\bin>echo rem echo GSC_CC_O_GAMBCDIR_LIB =
%GSC_CC_O_GAMBCDIR_LIB% 1>>gsc-cc-o.bat
C:\repos\git\gambit\bin>echo rem echo GSC_CC_O_OBJ_FILENAME =
%GSC_CC_O_OBJ_FILENAME% 1>>gsc-cc-o.bat
C:\repos\git\gambit\bin>echo rem echo GSC_CC_O_C_FILENAME_DIR =
%GSC_CC_O_C_FILENAME_DIR% 1>>gsc-cc-o.bat
C:\repos\git\gambit\bin>echo rem echo GSC_CC_O_C_FILENAME_BASE =
%GSC_CC_O_C_FILENAME_BASE% 1>>gsc-cc-o.bat
C:\repos\git\gambit\bin>echo rem echo GSC_CC_O_CC_OPTIONS =
%GSC_CC_O_CC_OPTIONS% 1>>gsc-cc-o.bat
C:\repos\git\gambit\bin>echo rem echo GSC_CC_O_LD_OPTIONS_PRELUDE =
%GSC_CC_O_LD_OPTIONS_PRELUDE% 1>>gsc-cc-o.bat
C:\repos\git\gambit\bin>echo rem echo GSC_CC_O_LD_OPTIONS =
%GSC_CC_O_LD_OPTIONS% 1>>gsc-cc-o.bat
C:\repos\git\gambit\bin>echo.1>>gsc-cc-o.bat
C:\repos\git\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:\repos\git\gambit\bin>echo.1>>gsc-cc-o.bat
C:\repos\git\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:\repos\git\gambit\bin>echo exit 1 1>>gsc-cc-o.bat
C:\repos\git\gambit\bin>echo.1>>gsc-cc-o.bat
C:\repos\git\gambit\bin>echo :use_gcc.exe 1>>gsc-cc-o.bat
C:\repos\git\gambit\bin>echo cd "" 1>>gsc-cc-o.bat
C:\repos\git\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:\repos\git\gambit\bin>echo goto end 1>>gsc-cc-o.bat
C:\repos\git\gambit\bin>echo.1>>gsc-cc-o.bat
C:\repos\git\gambit\bin>echo :use_wcl386.exe 1>>gsc-cc-o.bat
C:\repos\git\gambit\bin>echo cd "" 1>>gsc-cc-o.bat
C:\repos\git\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:\repos\git\gambit\bin>echo goto end 1>>gsc-cc-o.bat
C:\repos\git\gambit\bin>echo.1>>gsc-cc-o.bat
C:\repos\git\gambit\bin>echo :use_cl.exe 1>>gsc-cc-o.bat
C:\repos\git\gambit\bin>echo cd "" 1>>gsc-cc-o.bat
C:\repos\git\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:\repos\git\gambit\bin>echo goto end 1>>gsc-cc-o.bat
C:\repos\git\gambit\bin>echo.1>>gsc-cc-o.bat
C:\repos\git\gambit\bin>echo :use_build_time_c_compiler 1>>gsc-cc-o.bat
C:\repos\git\gambit\bin>echo cd "" 1>>gsc-cc-o.bat
C:\repos\git\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:\repos\git\gambit\bin>echo goto end 1>>gsc-cc-o.bat
C:\repos\git\gambit\bin>echo.1>>gsc-cc-o.bat
C:\repos\git\gambit\bin>echo :end 1>>gsc-cc-o.bat
C:\repos\git\gambit\bin>echo.1>>gsc-cc-o.bat
C:\repos\git\gambit\bin>echo exit 1>>gsc-cc-o.bat
C:\repos\git\gambit\bin>cd ..
More information about the Gambit-list
mailing list