I'm trying to bind LuaJIT (in fact Terra) to PB and so far everything is working correctly on Windows and Linux but not on Mac OSX.
In the LuaJIT documentation it is mentioned:
I think the issue comes from that so I've tried to include some linker options in a text file and set the file in the linker option file from the IDE compiler options.../.. If you're building a 64 bit application on OSX which links directly or indirectly against LuaJIT, you need to link your main executable with these flags:Code: Select all
-pagezero_size 10000 -image_base 100000000
The file contains one instruction per line as specified in the PB documentation:
Code: Select all
-pagezero_size 10000
-image_base 100000000
Does anyone has some experience with linker options on Mac OSX or even perhaps with LuaJIT on Mac OSX ?
Cheers,
Guy.