Thanks for all the help Tim, I've succesfully cross-compiled luajit using the following command:
make HOST_CC="mingw32-gcc.exe -m32" CROSS=arm-brcm-linux-gnueabi- TARGET_CFLAGS="-mfloat-abi=soft" TARGET_SYS=Linux CFLAGS="-DLUAJIT_NO_EXP2 -DLUAJIT_NO_LOG2" Regards, 2015-06-12 16:08 GMT-03:00 Tim Caswell <[email protected]>: > We talked on IRC. The plan is to just use luajit + luv. > > This provides the core value of luvit without worrying about zip assets > and lit packages. Also it's considerably easier to cross-compile. > > On Thu, Jun 11, 2015 at 11:31 PM, Francisco D' Agostino < > [email protected]> wrote: > >> Hi Anthony, Jörg, >> This is Francisco from Buenos Aires, Argentina, pleased to meet you! I'm >> fascinated with Luvit and their possibilities on embedded devices. >> I'm newbie about Lua/LuaJIT/Luvit/etc. >> >> I'm interested in implementing Luvit on an ARM device too. >> This device is an EFT-POS (Castles Technology VEGA 5000S) has a Broadcom >> BCM5892 ARMv61 SoC with Linux (without console access). >> >> I need the Luvit runtime as a shared library in order to embed it on >> C/C++ code, simillar as Mono ( >> http://www.mono-project.com/docs/advanced/embedding/) or Duktape ( >> http://duktape.org/). Is it possible to obtain something like this? >> >> I think I've to cross-compile Luvit using the toolchain provided by the >> manufacturer (arm-brcm-linux-gnueabi-xxxx over windows with cygwin) in >> order to obtain a .so compatible with the device but I don't have so much >> experience doing this. >> I'd really really appreaciate any guidance and insight! >> >> Regards, >> Francisco >> >> >> >> El sábado, 4 de abril de 2015, 19:28:40 (UTC-3), Jörg Krause escribió: >>> >>> Some more remarks. >>> >>> You cannot cross-compile modules with lit as you can do with npm. At >>> least yet. It could be possible since luajit is able to build for ARM, >>> mips, and several other targets. >>> >>> I'm using Buildroots cmake-package infrastructure and some self written >>> CMake find_package files for locating the libraries. This is like >>> pkg-config for autotools I guess. >>> >>> I also started an issue for luv at github about building luv: >>> https://github.com/luvit/luv/issues/134 >>> >>> Jörg >> >> -- >> You received this message because you are subscribed to the Google Groups >> "luvit" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "luvit" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "luvit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
