[Top][All Lists]

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

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

From: Cayce Pollard
Subject: Re: [Tinycc-devel] Problem Compiling tinycc For Android: strtold
Date: Wed, 11 Sep 2013 20:26:31 -0500

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 the original suggestion but I did find a lot of articles on overriding a library during compile or with weak aliases.  What is the standard way for making one function a reference to another in a different header?

Also, would that work for linking __clear_cache to the Android equivalent cacheflush?  

On Wed, Sep 11, 2013 at 5:37 PM, Cayce Pollard <address@hidden> wrote:
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 someone corrected me.

On Wed, Sep 11, 2013 at 5:16 PM, Stephan Beal <address@hidden> wrote:
On Wed, Sep 11, 2013 at 11:48 PM, Cayce Pollard <address@hidden> wrote:
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.

----- stephan beal

Tinycc-devel mailing list

reply via email to

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