On Wed, Sep 11, 2013 at 08:26:31PM -0500, Cayce Pollard wrote:
Also, would that work for linking __clear_cache to the Android equivalent
cacheflush?
I would prefer directly using the __ARM_NR_cacheflush syscall to
make it work on non-Bionic Linux as well. The syscall has been introduced
into
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 mlisaoverdr...@gmail.comwrote:
Hello,
When building tinycc using the Android NDK standalone toolchain, I get the
following error:
Putting child
Just saw your email as I was getting ready to post my next questions.
1) should I just find/replace in the code or make an alias to strtod?
2) Android's version of __clear_cache is cacheflush, can I make an alias
for that as well?
I
On Wed, Sep 11, 2013 at 4:38 PM, Daniel Glöckner
On Wed, Sep 11, 2013 at 03:40:15PM -0500, Cayce Pollard wrote:
./../tinycc/tccpp.c:1961: error: undefined reference to 'strtold'
Just substitute strtod for strtold.
It has probably been omitted from Android's libc because
long double == double on ARM nowadays (i.e. with EABI or VFP).
Daniel
I suspect you're right...now off to find out where that particular option
goes...
(still grepping my way through pages of gcc documentation and Android
internals)
Will the same work for __clear_cache? I suspect not, based on a cursory
examination of that and cacheflush, but I'd be happy if
On Wed, Sep 11, 2013 at 11:48 PM, Cayce Pollard mlisaoverdr...@gmail.comwrote:
Just saw your email as I was getting ready to post my next questions.
1) should I just find/replace in the code or make an alias to strtod?
i _suspect_ that -Dstrtold=strtod might do the trick for you.
--
-
I couldn't figure out how to correctly use -Dstrtold=strtod, so I did a
simple find/replace to test build. It worked, but I would like to do this
correctly.
I did a search on -D, Makefiles, -D gcc options and grepped for D within
the source directory. I couldn't find/see anything that resembled