mprocs icon indicating copy to clipboard operation
mprocs copied to clipboard

Feature Request: Optional Lua | Raspberry Pi target

Open Thomas485 opened this issue 2 years ago • 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.

Thomas485 avatar May 27 '23 07:05 Thomas485

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.

Thomas485 avatar Jun 27 '23 05:06 Thomas485

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.

pvolok avatar Jun 27 '23 22:06 pvolok