Nicolas Cannasse wrote:
Now the compile flows as follows:
ld: flag: -undefined dynamic_lookup can't be used with
MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1
make: *** [bin/std.ndll] Error 1
Where on earth is MACOSX_DEPLOYMENT_TARGET defined and what it is
doing at 10.1 when I'm using 10.2?
I don't know what -undefined dynamic_lookup is supposed to do, since the
OSX Makefile config was contributed by Lauri Hyvärinen. Maybe try
without it ?
MACOSX_DEPLOYMENT_TARGET environment variable is by default set to 10.1. You can
set it by your self to something else. As an attachment is a patch that sets the
MACOSX_DEPLOYMENT_TARGET in the NekoVM's Makefile to 10.3. The current Makefile
doesn't compile with 10.2, at least because the -undefined dynamic_lookup flag
is only supported in OS X versions 10.3 and higher. What you need to do to make
std.ndll compile is briefly described here:
http://66.249.93.104/search?q=cache:37ULM0n9A84J:www.metapkg.org/wiki/12
Cheers,
Lauri
--- neko-CVS/Makefile.~1.27.~ 2005-12-29 11:49:38.000000000 +0200
+++ neko-CVS/Makefile 2006-01-05 11:47:57.000000000 +0200
@@ -28,7 +28,7 @@
### OSX SPECIFIC
ifeq (${MACOSX}, 1)
-MACOSX_DEPLOYMENT_TARGET = 10.3
+export MACOSX_DEPLOYMENT_TARGET = 10.3
MAKESO = gcc
LIBNEKO_NAME = libneko.dylib
LIBNEKO_INSTALL = -install_name @executable_path/${LIBNEKO_NAME}
---
Neko : One VM to run them all