[haXe] Compiling Haxe 1.9 and Neko 1.5.2 on OSX
Gabriele Farina
g.farina at pharaondev.com
Mon Dec 18 11:24:06 CET 2006
Hi,
I have some problem compiling haxe 1.9 and neko 1.5.2 on Mac (OSX
Intel). Haxe seems to compile well after installing ocaml, but the
binary file created, if linked into /usr/bin (using ln -s) can't be
executed. Also haxelib and other tools are not created (should I
compile other files ?).
Neko dosn't compile ... when I run make it stops with this output:
mkdir bin 2>/dev/null
make: [createbin] Error 1 (ignored)
cc -shared -WBsymbolic -pthread -o bin/libneko.so 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 -ldl -lgc -lm
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-shared'
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
/usr/bin/ld: Undefined symbols:
_main
collect2: ld returned 1 exit status
make: *** [bin/libneko.so] Error 1
Anyone can help ? I don't want to use the binary packages provided
because the versions for osx are not the latest (the ones I use on
Windows).
Gabriele
More information about the Haxe
mailing list