When building tinycc using the Android NDK standalone toolchain, I get the following error:
Putting child 0x01bcc300 (tcc.o) PID 24373 on the chain.
Live child 0x01bcc300 (tcc.o) PID 24373
In file included from ./../tinycc/tcc.c:24:0:
./../tinycc/tcc.h:943:20: error: conflicting types for 'strtold'
In file included from ./../tinycc/tcc.h:32:0,
/project/arm-cc/bin/../sysroot/usr/include/stdlib.h:68:15: note: previous declaration of 'strtold' was here
If I comment out strtold in tcc.h, I get the following error
./../tinycc/tccpp.c:1961: error: undefined reference to 'strtold'
collect2: error: ld returned 1 exit status
I'm including the -std=c99 in the --extra-ldflags for configure. Is there a different arg I should be using?