It appears that the Makefile was not prepared for DLL linkage, but the
source code was ready. I had modified the Makefile CFLAGS to include
-DNEKO_SOURCES but this made everything an export since all libraries
are built with the same Makefile. Reverting CFLAGS and adding
targets for all the libneko files fixed things, e.g.,

Got it !
I'ld like to fix that but I'm not sure what is best to do it nicely.
Anyone knows how to have a specific .c.o Makefile rules for one build only ?

vm/alloc.o: vm/alloc.c
        ${CC} ${CFLAGS} -DNEKO_SOURCES -c $< -o $@

Makefile.diff is attached -- it is suitable for MinGW, it could be
made even more target configurable

I also had to change a couple instances of _WIN32 to _MSC_VER

Yes I will apply theses ones.

Thanks,
Nicolas

---
Neko : One VM to run them all

Reply via email to