Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile on jnlua on MacOs #6

Open
GoogleCodeExporter opened this issue Mar 12, 2015 · 5 comments
Open

Compile on jnlua on MacOs #6

GoogleCodeExporter opened this issue Mar 12, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

I am currenlty trying to compile JNLua 1.0.3 C native code. The goal is to 
provide a shipped interpreter for LDT (http://eclipse.org/koneki/ldt/).

Dowloaded dll for windows works fine, under linux the compilation work fine 
aswell. But on MacOs X, I have a major issue to compile the jnlua lib.

Using GCC, I have the followings errors :
gcc -c -fno-strict-aliasing -m64 -fPIC -O2 -Wall -DNDEBUG -D_REENTRANT 
-DLUA_USE_LINUX 
-I/Developer//SDKs/MacOSX10.6.sdk/System/Library/Frameworks/JavaVM.framework/Ver
sions/1.6.0/Headers -I/tmp/lua-5.2.1/src/ ../jnlua.c
../jnlua.c:133: error: thread-local storage not supported for this target

Some explanation can be find here:
http://lists.apple.com/archives/xcode-users/2006/Jun/msg00550.html

It seems that MacOs doesn't support thread-local storage, maybe jnlua have to 
use a different way to store thread variables.

Marc

Original issue reported on code.google.com by [email protected] on 11 Feb 2013 at 5:53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant