pvolok/mprocs

Feature Request: Optional Lua | Raspberry Pi target

Thomas485 opened this issue · 2 comments

Hello,

I would like to use mprocs on a raspberry pi.

I tried to compile it using cross (cross build --target armv7-unknown-linux-gnueabihf) but it fails on compiling mlua.

Without mlua it would compile.
Additionally compiling without lua would drop the filesize from about 11 MB to 2.1 MB, in my short test.

I figured out, that compiling using lto is broken on/for arm*-Architectures too.

But it seems that its not possible (yet) to set compiler/linker flags per target. At least I can't figure it out.

In the initial post i did a debug-build that didn't incorporate lto, therefore the claim of compiling success.

pvolok commented

I tried cross-compilation in the past. I was trying to compile for Linux from Macos. The build was failing and I couldn't make it work. I don't remember the exact errors though. But it compiles successfully using Docker or directly on Linux.