Re: trying include luajit into embebbed application that already uses lua5.1

  • From: Christiaan Schade <chris.schade@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Fri, 24 Oct 2014 14:03:23 +0200

On 10/24/2014 12:56 PM, José Seabra wrote:
> I'm trying compile a luajit as embebbed c application, this application 
> already uses lua5.1, the makefile is the following:
> <snipp...>
> What i need change in this Makefile in order to compile it with luajit 
> instead of lua5.1?

Have you read the documentation? http://luajit.org/install.html section 
"Embedding LuaJIT".
Basically, you'll just need to link with the luajit library instead of the 
plain lua library.

-- Chris
PGP: http://pgp.mit.edu/pks/lookup?op=get&search=0x35F488E65E3AF153

Other related posts: