Hello, I'm having problems linking to the gc lib. I've copied libgc.a to bin directory but no idea what to try next - how to debug this.
I'd appreciate a pointer! Thanks Michael gcc -O -shared -o bin/neko.dll vm/alloc.o vm/builtins.o vm/callback.o vm/context.o vm/interp.o vm/load.o vm/objtable.o vm/others.o vm/hash.o vm/module.o vm/jit_x86.o -Lbin -lgc vm/alloc.o: In function `neko_free_root': h:/projects/neko-1.6.0/vm/alloc.c:374: undefined reference to `_imp__GC_free' vm/alloc.o: In function `neko_alloc_root': h:/projects/neko-1.6.0/vm/alloc.c:370: undefined reference to `_imp__GC_malloc_uncollectable' vm/alloc.o: In function `neko_alloc_abstract': h:/projects/neko-1.6.0/vm/alloc.c:229: undefined reference to `_imp__GC_malloc' vm/alloc.o: In function `neko_alloc': h:/projects/neko-1.6.0/vm/alloc.c:185: undefined reference to `_imp__GC_malloc' vm/alloc.o: In function `neko_alloc_float': h:/projects/neko-1.6.0/vm/alloc.c:211: undefined reference to `_imp__GC_malloc_atomic' vm/alloc.o: In function `neko_alloc_private': h:/projects/neko-1.6.0/vm/alloc.c:189: undefined reference to `_imp__GC_malloc_atomic' vm/alloc.o: In function `neko_thread_create': h:/projects/neko-1.6.0/vm/alloc.c:158: undefined reference to [EMAIL PROTECTED]' vm/alloc.o: In function `neko_gc_stats': h:/projects/neko-1.6.0/vm/alloc.c:115: undefined reference to `_imp__GC_get_heap_size' h:/projects/neko-1.6.0/vm/alloc.c:116: undefined reference to `_imp__GC_get_free_bytes' vm/alloc.o: In function `neko_gc_major': h:/projects/neko-1.6.0/vm/alloc.c:111: undefined reference to `_imp__GC_gcollect' vm/alloc.o: In function `neko_gc_loop': This e-mail and any attachments may be confidential and/or legally privileged. If you have received this e-mail and you are not a named addressee, please inform Evolving Systems TIS at [EMAIL PROTECTED] and then delete the e-mail from your system. If you are not a named addressee you must not use, disclose, distribute, copy, print or rely on this e-mail. To ensure regulatory compliance and for the protection of our clients and business, Evolving Systems may monitor and read e-mails sent to and from its servers. Although Evolving Systems routinely screens for viruses, addressees should scan this e-mail and any attachments for viruses. Evolving Systems makes no representation or warranty as to the absence of viruses in this e-mail or any attachments. Registered Office: One Angel Square, Torrens Street, London. EC1V 1PL. Registered number 2325854 -- Neko : One VM to run them all (http://nekovm.org)
