[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Support for musl (instead of GNU libc) when building the VM for embedded system (#304)

tim Rowledge tim at rowledge.org
Fri Nov 9 18:01:21 UTC 2018


Hello to anotherARM VM maker; nice to know I'm not the only one ...

Why use cross-compiling? You know the Pi can perfectly happily compile & build for itself, right? That's the only build I ever use. Do the build on a Pi3b+ and it takes not very long at all.

> On 2018-11-09, at 1:32 AM, Xuan Sang LE <notifications at github.com> wrote:
> 
> Hello,
> 
> I have a small issue when building (cross-compile) the Smalltalk VM on an ARM(v6) embedded linux system (Nano Pi neno and Raspberry Pi Zero) that uses Musl as default libc implementation.
> 
> The problem is that the code and the configure script does not have official support for Musl, so I created a patch file that adds support to Musl, you can find the patch here.
> 
> With this patch, i am able to cross-compile on the ARM toolchain for my system; with 4 plugins:
> 
> FilePlugin \
> SqueakSSL \
> SqueakFFIPrims \
> SocketPlugin
> 
> You can find the build script here
> 
> For now, i can live with this dirty trick, but i would be verry happy if the mainline VM has official support to Musl.
> 
> That's why i create this issue.
> 
> Thanks
> 
>> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub, or mute the thread.
> 


tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Useful Latin Phrases:- Utinam logica falsa tuam philosophiam totam suffodiant! = May faulty logic undermine your entire philosophy!




More information about the Vm-dev mailing list