First class propagators: Linux to Windows
Harmon Nine
hnine at isis.vanderbilt.edu
Thu Jan 26 01:45:18 CET 2006
Now that I've gotten the fcp and reflect contrib modules to work in
Linux, and have reproduced some of Tobias Muller's results, I assumed
that getting fcp and reflect to work on Windows (XP) would be relatively
straightforward.
This was an invalid assumption.
I've made progress by revamping the contrib/reflect/Makefile.in to look
more like the other makefiles in contrib, i.e. the ones that compile.
However, when trying to link reflect.so-$(PLATFORM), the linker keeps
complaining that the some of the object modules have undefined symbols.
I've traced (some of) the undefined symbols to the file
platform/emulator/atoms.cc, which is compiled into emulator.dll.
I'd like to compile reflect.so-$(PLATFORM) so that the linker (ld)
"looks at" emulator.dll for the symbols it requires. Does anyone know
the option (or procedure) for doing this?
Here's some of the output:
OZTOOL_LD="g++ -mno-cygwin" \
c:/cygwin/home/hnine/WindowsNative/tmp/build/mozart-build/platform/mswin
dows/oztool.exe ld -inc
/home/hnine/WindowsNative/tmp/build/mozart-build/platform/emulator -o
reflect.so-win32-i486 reflect.o builtins.o reflect_prop.o reflect_var.o
reflect_space.o -L/home/hnine/WindowsNative/opt/packages/lib -lgmp
builtins.o:builtins.cc:(.text+0xd1): undefined reference to
`typeError(int, char*, char*)'
builtins.o:builtins.cc:(.text+0x180): undefined reference to
`oz_addSuspendVarList(unsigned int*)'
builtins.o:builtins.cc:(.text+0x476): undefined reference to
`__StaticNameTable'
TIA
-- Harmon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gforge.info.ucl.ac.be/pipermail/mozart-hackers/attachments/20060125/6c3791f8/attachment.html
More information about the mozart-hackers
mailing list