[Snek] ev3 build: musl or static older libc, or ?
dottedmag at dottedmag.net
Thu Feb 20 04:49:40 PST 2020
On 20 Feb 2020, at 4:52, Keith Packard wrote:
>> Typical "undefined reference to symbol something@@GLIBC_2.something"
>> to symbols versioning.
> Ok. If there aren't a lot of them, maybe just add suitable hacks to
> build like this?
Sure, it works. The symbols are all from libm: powf, expf, exp2f, logf,
__asm__ declarations need to be added to every compilation unit where
symbols are used, namely snek-exec.c and snek-math.c.
OK to have them there under #ifdef? What would be the good preprocessor
define to check here?
More information about the Snek