lua-users home
lua-l archive

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


On Mon, Jun 13, 2011 at 6:52 AM, Alexander Gladysh <agladysh@gmail.com> wrote:
On Mon, Jun 13, 2011 at 07:55, Dimiter "malkia" Stanev <malkia@gmail.com> wrote:
> Hi Mike,
>
> I'm not able to compile LuaJIT on latest MacOSX. It looks like my
> /usr/include/unwind.h does not have what is supposed to be there, then again
> there are dozen of unwind.h's from gcc folders that have this information,
> for example, this one here has it:

FWIW I can not reproduce this.

$ gcc --version
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ xcodebuild -showsdks
Mac OS X SDKs:
       Mac OS X 10.5                   -sdk macosx10.5
       Mac OS X 10.6                   -sdk macosx10.6

$  uname -a
Darwin agmac.local 10.7.0 Darwin Kernel Version 10.7.0: Sat Jan 29
15:17:16 PST 2011; root:xnu-1504.9.37~1/RELEASE_I386 i386

$ git describe
v2.0.0-beta7-79-gbcc196e

$ make
==== Building LuaJIT 2.0.0-beta7 ====
make -C src
...
OK        Successfully built LuaJIT
==== Successfully built LuaJIT 2.0.0-beta7 ====

But maybe your latest OS X (or XCode) is newer than mine.

Alexander.


Yes, looks like he has the latest pre-release one as it reports iOS 5. The unwind stuff is related to clang not gcc. Mike fixed it for the version I reported a bug on a while back, but looks like there are some slightly different issues now...

Do they still ship gcc?

Justin