lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Thank you, Mike, for LJ2.

On Oct 31, 2009, at 8:52 PM, Geoff Leyland wrote:
Built fine on OS X 10.6.

Just some notes, everything is working for me...

The first time I built on OS X 10.6 I got this warning:

CC        lib_package.o
In file included from /usr/include/dlfcn.h:41,
                 from lib_package.c:32:
/usr/include/AvailabilityMacros.h:108:14: warning: #warning Building for Intel with Mac OS X Deployment Target < 10.4 is invalid.

Editing the Makefile to eliminate this, I tried uncommenting the line

   CC= gcc -m32 -march=native

and commenting out the line:

   export MACOSX_DEPLOYMENT_TARGET=10.3

and despite using gcc 4.2.1 got:

HOSTCC    buildvm.o
buildvm.c:1: error: bad value (native) for -march= switch

So I restored the line:

  CC= gcc -m32 -march=i686

and it built without warnings.

e