tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] Problem Compiling tinycc For Android: strtold


From: Cayce Pollard
Subject: [Tinycc-devel] Problem Compiling tinycc For Android: strtold
Date: Wed, 11 Sep 2013 15:40:15 -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 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,
                 from ./../tinycc/tcc.c:24:
/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?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]