[plt-scheme] Embedding mzscheme on cygwin - linking problems
Hi.
I'm trying to build a small C app that embeds mzscheme. No problems on
Linux. On Windows, using cygwin, I've tried both the binary DrScheme
distribution (299.400) and building my own from source. In either case I
get link errors as follows:
~> gcc embed-test.c -o embed-test
-I /usr/local/plt/include /usr/local/plt/lib/gcc/libmzgcxxxxxxx.lib
/usr/local/plt/lib/gcc/libmzschxxxxxxx.lib
/cygdrive/c/DOCUME~1/ittai/LOCALS~1/Temp/cc74AsHh.o:embed-test.c:(.text
+0x2c): undefined reference to `_scheme_basic_env'
fu000001.o:: undefined reference to `_libmzschxxxxxxx_lib_iname'
nmth000000.o:: undefined reference to `__nm__scheme_current_thread'
Info: resolving _scheme_current_thread by linking to
__imp__scheme_current_thread (auto-import)
collect2: ld returned 1 exit status
I'm pretty much at a loss with shared libraries on Windows. Any help
appreciated..
--
Ittai