[plt-scheme] =?ISO-8859-1?Q?mzc_doesn=B4t_work_o?=n windows with mingw

From: Hans Oesterholt-Dijkema (hdnews at gawab.com)
Date: Thu Dec 30 13:30:12 EST 2004

Does anyone know why MZC doesn't work on windows (see log below)?
With MinGW?

Thanks in advance for answers,

Hans Dijkema

**********************************************************************

dijkh0x at APLABWP367063 /c/progs/mzscheme/collects/mzscheme/examples
$ pwd
/c/progs/mzscheme/collects/mzscheme/examples

dijkh0x at APLABWP367063 /c/progs/mzscheme/collects/mzscheme/examples
$ mzc -v --cc hello.c
MzScheme compiler (mzc) version 208, Copyright (c) 2004 PLT Scheme, Inc.
"hello.c":
compile-extension: (c:\mingw\bin\gcc.exe -c -O2 -fPIC
-IC:\progs\mzscheme\collects\..\include hello.c -o .\hello.obj)
cc1.exe: warning: -fPIC ignored for target (all code is position independent)
 [output to ".\hello.obj"]

dijkh0x at APLABWP367063 /c/progs/mzscheme/collects/mzscheme/examples
$ mzc -v --ld hello.dll hello.obj
MzScheme compiler (mzc) version 208, Copyright (c) 2004 PLT Scheme, Inc.
"hello.obj":
link-extension: (c:\mingw\bin\ld.exe --dll hello.obj
C:\progs\mzscheme\collects\..\lib\gcc\libmzsch208_000.lib
C:\progs\mzscheme\collects\..\lib\gcc\libmzgc208_000.lib
C:\progs\mzscheme\collects\..\lib\gcc\mzdyn.exp
C:\progs\mzscheme\collects\..\lib\gcc\mzdyn.o
C:\progs\mzscheme\collects\..\lib\gcc\init.o
C:\progs\mzscheme\collects\..\lib\gcc\fixup.o --base-file
C:/DOCUME~1/dijkh0x/LOCALS~1/Temp\tmp29.base -e _dll_entry at 12 -o hello.dll)
Info: resolving _scheme_false by linking to __imp__scheme_false (auto-import)
fu000001.o(.idata$3+0xc): undefined reference to `libmzsch208_000_lib_iname'
nmth000000.o(.idata$4+0x0): undefined reference to `_nm__scheme_false'
link-extension: command failed

dijkh0x at APLABWP367063 /c/progs/mzscheme/collects/mzscheme/examples
$ 




-- 
Hans



Posted on the users mailing list.