[Snek] ev3 build: musl or static older libc, or ?

Keith Packard keithp at keithp.com
Wed Feb 19 14:14:14 PST 2020


"Mikhail Gusarov" <dottedmag at dottedmag.net> writes:

> 1. Build musl toolchain (e.g. https://github.com/GregorR/musl-cross) and 
> statically
>     compile snek-ev3.
>
>     Upsides: works with unstable, resulting binaries are static.
>     Downsides: takes ~20 minutes to build one

I'd rather use the system libc instead of rolling your own...

> 2. Install ARM cross-compiler and libc from stretch, and use it to 
> build.
>
>     Upsides: it's the toolchain used by the ev3dev.
>     Downsides: another Dockerfile just for the sake of ev3?

I regularly use 'schroot' for building i386 stable snek. I think it's
easier to manage than a docker image, and it certainly starts up faster
once you've got it configured.

-- 
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://keithp.com/pipermail/snek/attachments/20200219/76764f85/attachment.sig>


More information about the Snek mailing list