|
From: | Cayce Pollard |
Subject: | Re: [Tinycc-devel] Problem Compiling tinycc For Android: strtold (Found cause) |
Date: | Wed, 11 Sep 2013 16:15:57 -0500 |
Hello,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 24373In 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,from ./../tinycc/tcc.c:24:/project/arm-cc/bin/../sysroot/usr/include/stdlib.h:68:15: note: previous declaration of 'strtold' was hereIf 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 statusI'm including the -std=c99 in the --extra-ldflags for configure. Is there a different arg I should be using?
[Prev in Thread] | Current Thread | [Next in Thread] |