tinycc-devel
[Top][All Lists]
Advanced

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

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


From: Cayce Pollard
Subject: Re: [Tinycc-devel] Problem Compiling tinycc For Android: strtold (Found cause)
Date: Wed, 11 Sep 2013 16:15:57 -0500

Ignore my previous message...bionic libc doesn't have strtold.
Back to the drawing board...


On Wed, Sep 11, 2013 at 3:40 PM, Cayce Pollard <address@hidden> wrote:
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]