v.c doesn't compile on Android since glibc specific functions

Created on 23 Jun 2019  路  4Comments  路  Source: vlang/v

Error message:

$ cc -w -o vc v.c
v.c:65:10: fatal error: 'execinfo.h' file not found
#include <execinfo.h>
         ^~~~~~~~~~~~
1 error generated.

The libc on Android doesn't provide execinfo.h

Most helpful comment

Good to know it builds on Android, thanks @mingodad

I'll fix the execinfo.h dependency.

All 4 comments

On Android? Now that _is_ interesting!

I've got it to build on android with termux commenting out "#include " and "backtrace*" in os/mac.v and v.c
Cheers !

Good to know it builds on Android, thanks @mingodad

I'll fix the execinfo.h dependency.

Fixed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lobotony picture lobotony  路  3Comments

jtkirkpatrick picture jtkirkpatrick  路  3Comments

arg2das picture arg2das  路  3Comments

ArcDrake picture ArcDrake  路  3Comments

penguindark picture penguindark  路  3Comments