Hi,
I've downloaded `gambc-v4_6_7-devel.tgz' and want to compile it with MSVC 11. I've tried tweaking `misc\vc2008.bat' but it bombs out with errors :-(
How are the prebuilt VC binaries on the Gambit homepage built - ie. what's the recommended way to do this?
Cheers, Ralph
Afficher les réponses par date
On 2013-04-11, at 5:01 PM, Ralph Moritz ralph.moeritz@outlook.com wrote:
Hi,
I've downloaded `gambc-v4_6_7-devel.tgz' and want to compile it with MSVC 11. I've tried tweaking `misc\vc2008.bat' but it bombs out with errors :-(
How are the prebuilt VC binaries on the Gambit homepage built - ie. what's the recommended way to do this?
Check out the subdirectory prebuilt/windows . The build procedure uses the standard Unix tools ("make", "sed", etc) from MinGW to drive the build process with the VC compiler.
misc/vc2008.bat should be the easiest approach. The hardest part is getting the PATH set up properly at the top of the vc2008.bat file. By the way, what were the errors you got?
Marc
Hi,
I've downloaded `gambc-v4_6_7-devel.tgz' and want to compile it with MSVC 11. I've tried tweaking `misc\vc2008.bat' but it bombs out with errors :-(
How are the prebuilt VC binaries on the Gambit homepage built - ie. what's the recommended way to do this?
Check out the subdirectory prebuilt/windows . The build procedure uses the standard Unix tools ("make", "sed", etc) from MinGW to drive the build process with the VC compiler.
Does this mean I need MSYS? (to run ./configure)
misc/vc2008.bat should be the easiest approach. The hardest part is getting the PATH set up properly at the top of the vc2008.bat file. By the way, what were the errors you got?
There's an initial batch of errors, right after running vc2008.bat (renamed to vc2012.bat with updated path):
F:\Ralph\Temp\src\gambc-v4_6_7-devel\misc>echo #ifndef ___VOIDSTAR_WIDTH 1>include\gambit.h The system cannot find the path specified. F:\Ralph\Temp\src\gambc-v4_6_7-devel\misc>echo #define ___VOIDSTAR_WIDTH ___LONG _WIDTH 1>>include\gambit.h The system cannot find the path specified. F:\Ralph\Temp\src\gambc-v4_6_7-devel\misc>echo #endif 1>>include\gambit.h The system cannot find the path specified. F:\Ralph\Temp\src\gambc-v4_6_7-devel\misc>echo #ifndef ___MAX_CHR 1>>include\gambit.h The system cannot find the path specified. F:\Ralph\Temp\src\gambc-v4_6_7-devel\misc>echo #define ___MAX_CHR 0x10ffff 1>>include\gambit.h The system cannot find the path specified. F:\Ralph\Temp\src\gambc-v4_6_7-devel\misc>echo #endif 1>>include\gambit.h The system cannot find the path specified. F:\Ralph\Temp\src\gambc-v4_6_7-devel\misc>type include\gambit.h.in 1>>include\gambit.h The system cannot find the path specified. F:\Ralph\Temp\src\gambc-v4_6_7-devel\misc>cd lib The system cannot find the path specified. After this everythinig appears to build fine & the file `bin\gsc-cc-o.bat' is produced. Running this from a command prompt with VC vars set (and gcc in the path) gives the following error:
cl : Command line warning D9024 : unrecognized source file type '', object file assumed LINK : warning LNK4001: no object files specified; libraries used LINK : warning LNK4068: /MACHINE not specified; defaulting to X86 LINK : error LNK2001: unresolved external symbol __DllMainCRTStartup@12 .dll : fatal error LNK1120: 1 unresolved externals
Any ideas what might be going wrong? Did I maybe miss a step somewhere (eg. running ./configure in the root)
Cheers, Ralph
On 2013-04-12, at 1:10 AM, Ralph Möritz ralph.moeritz@outlook.com wrote:
Hi,
I've downloaded `gambc-v4_6_7-devel.tgz' and want to compile it with MSVC 11. I've tried tweaking `misc\vc2008.bat' but it bombs out with errors :-(
How are the prebuilt VC binaries on the Gambit homepage built - ie. what's the recommended way to do this?
Check out the subdirectory prebuilt/windows . The build procedure uses the standard Unix tools ("make", "sed", etc) from MinGW to drive the build process with the VC compiler.
Does this mean I need MSYS? (to run ./configure)
misc/vc2008.bat should be the easiest approach. The hardest part is getting the PATH set up properly at the top of the vc2008.bat file. By the way, what were the errors you got?
There's an initial batch of errors, right after running vc2008.bat (renamed to vc2012.bat with updated path):
F:\Ralph\Temp\src\gambc-v4_6_7-devel\misc>echo #ifndef ___VOIDSTAR_WIDTH 1>include\gambit.h The system cannot find the path specified. F:\Ralph\Temp\src\gambc-v4_6_7-devel\misc>echo #define ___VOIDSTAR_WIDTH ___LONG _WIDTH 1>>include\gambit.h The system cannot find the path specified. F:\Ralph\Temp\src\gambc-v4_6_7-devel\misc>echo #endif 1>>include\gambit.h The system cannot find the path specified. F:\Ralph\Temp\src\gambc-v4_6_7-devel\misc>echo #ifndef ___MAX_CHR 1>>include\gambit.h The system cannot find the path specified. F:\Ralph\Temp\src\gambc-v4_6_7-devel\misc>echo #define ___MAX_CHR 0x10ffff 1>>include\gambit.h The system cannot find the path specified. F:\Ralph\Temp\src\gambc-v4_6_7-devel\misc>echo #endif 1>>include\gambit.h The system cannot find the path specified. F:\Ralph\Temp\src\gambc-v4_6_7-devel\misc>type include\gambit.h.in 1>>include\gambit.h The system cannot find the path specified. F:\Ralph\Temp\src\gambc-v4_6_7-devel\misc>cd lib The system cannot find the path specified.
After this everythinig appears to build fine & the file `bin\gsc-cc-o.bat' is produced. Running this from a command prompt with VC vars set (and gcc in the path) gives the following error:
cl : Command line warning D9024 : unrecognized source file type '', object file assumed LINK : warning LNK4001: no object files specified; libraries used LINK : warning LNK4068: /MACHINE not specified; defaulting to X86 LINK : error LNK2001: unresolved external symbol __DllMainCRTStartup@12 .dll : fatal error LNK1120: 1 unresolved externals
Any ideas what might be going wrong? Did I maybe miss a step somewhere (eg. running ./configure in the root)
The problem is that you are in the wrong directory! You should be in the Gambit root directory and type:
misc\vc2008.bat
I'll add this information to the top of the batch files so that it is clearer.
Marc
Marc Feeley <feeley <at> iro.umontreal.ca> writes:
On 2013-04-12, at 1:10 AM, Ralph Möritz <ralph.moeritz <at> outlook.com>
wrote:
Hi,
I've downloaded `gambc-v4_6_7-devel.tgz' and want to compile it with MSVC 11. I've tried tweaking `misc\vc2008.bat' but it bombs out with errors
[SNIP]
The problem is that you are in the wrong directory! You should be in the
Gambit root directory and type:
misc\vc2008.bat
I tried this but still get the link errors posted in my last message, namely:
/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
/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
Anyway, I've given up on VC11 and managed to build Gambit using MinGW.
On 2013-04-12, at 6:10 PM, Ralph Moritz ralph.moeritz@outlook.com wrote:
Marc Feeley <feeley <at> iro.umontreal.ca> writes:
On 2013-04-12, at 1:10 AM, Ralph Möritz <ralph.moeritz <at> outlook.com>
wrote:
Hi,
I've downloaded `gambc-v4_6_7-devel.tgz' and want to compile it with MSVC 11. I've tried tweaking `misc\vc2008.bat' but it bombs out with errors
[SNIP]
The problem is that you are in the wrong directory! You should be in the
Gambit root directory and type:
misc\vc2008.bat
I tried this but still get the link errors posted in my last message, namely:
/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
/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
Anyway, I've given up on VC11 and managed to build Gambit using MinGW.
One part of the link errors (the unresolved external symbols _____20___assert, etc) are due to files that were added to the gsc directory which need to be compiled and linked, but which were not added to the list of files in misc/vc2008.bat . I have corrected that. For your convenience the corrected file is attached.
The other link errors (the unresolved external symbols ____S__23__23_type_2d_9_2d_edd21ef2_2d_ee48_2d_407f_2d_a9a9_2d_c1c361078e55, etc) are strange. They suggest to me that one of the files failed to compile (can you check if one of the .obj files is corrupted), or you are not compiling from a stable distribution of Gambit (did you untar gambc-v4_6_7.tgz and then execute misc\vc2008.bat or did you do a "git pull" in between or something?).
Marc
On Sat, 13 Apr 2013 13:00:38 +0200, Marc Feeley feeley@iro.umontreal.ca wrote:
...
The problem is that you are in the wrong directory! You should be in the Gambit root directory and type:
misc\vc2008.bat
I tried this but still get the link errors posted in my last message
...
One part of the link errors (the unresolved external symbols _____20___assert, etc) are due to files that were added to the gsc directory which need to be compiled and linked, but which were not added to the list of files in misc/vc2008.bat . I have corrected that. For your convenience the corrected file is attached.
Thanks Mark, that did it! Using the attached batch file I was able to build the Gambit-C 4.6.7 sources using VC11 with no errors. Last question, now that the Gambit binaries have been built, how do I go about installing them, preferably without having to use MinGW, since I don't usually have both installed?
Many thanks, Ralph
Hi Ralph,
Check the bin directory of your MSVC installation for a vcvarsall32.bat file, and run it in your console before getting into compiling Gambit.
Brgds
2013/4/12 Marc Feeley feeley@iro.umontreal.ca
On 2013-04-11, at 5:01 PM, Ralph Moritz ralph.moeritz@outlook.com wrote:
Hi,
I've downloaded `gambc-v4_6_7-devel.tgz' and want to compile it with MSVC 11. I've tried tweaking `misc\vc2008.bat' but it bombs out with errors
:-(
How are the prebuilt VC binaries on the Gambit homepage built - ie.
what's
the recommended way to do this?
Check out the subdirectory prebuilt/windows . The build procedure uses the standard Unix tools ("make", "sed", etc) from MinGW to drive the build process with the VC compiler.
misc/vc2008.bat should be the easiest approach. The hardest part is getting the PATH set up properly at the top of the vc2008.bat file. By the way, what were the errors you got?
Marc
Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
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 ..