[plt-scheme] Windows Native exe
Given a standard mzscheme 360 distribution and the MS linker 8.00.50727, I
try to build as a native exe the file:
c:\mz-360\src\worksp\mzscheme\ciao\ciao.scm
containing:
(module ciao2 mzscheme
(begin
(display "Hello, World!")
(newline))
)
To build I first run:
cd c:\mz-360\src\worksp\mzscheme\ciao
mzc --object --embedded ciao.scm
mzc --link-glue --embedded ciao.kp ciao.obj
And then I build with:
cd ..
set LINKSTR=/OUT:ciao.exe /DEBUG /PDB:"..\..\..\MzScheme.pdb"
/SUBSYSTEM:CONSOLE
set LINKSTR=%LINKSTR% unicows.lib user32.lib
set LINKSTR=%LINKSTR% "..\..\..\lib\msvc\libmzgcxxxxxxx.lib"
"..\..\..\lib\msvc\libmzschxxxxxxx.lib"
set LINKSTR=%LINKSTR% ".\Debug\main.obj" ".\Debug\mzscheme.res"
".\Debug\uniplt.obj"
set LINKSTR=%LINKSTR% "ciao\_loader.obj" "ciao\ciao.obj"
/NODEFAULTLIB:libcmt
link %LINKSTR%
Unfotunately when I copy the exe in the c:\mz-360\lib directory, I get:
"Cannot load libmzgcxxxxxxx.dll" error.
Can you help, please.
Antonio