[Snek] ev3 build: musl or static older libc, or ?
Mikhail Gusarov
dottedmag at dottedmag.net
Thu Feb 20 04:49:40 PST 2020
Hi Keith,
On 20 Feb 2020, at 4:52, Keith Packard wrote:
>> Typical "undefined reference to symbol something@@GLIBC_2.something"
>> due
>> to symbols versioning.
>
> Ok. If there aren't a lot of them, maybe just add suitable hacks to
> the
> build like this?
Sure, it works. The symbols are all from libm: powf, expf, exp2f, logf,
log2f.
__asm__ declarations need to be added to every compilation unit where
the
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?
Best,
Mikhail.
More information about the Snek
mailing list