Sorry, posted this twice by accident - didn't realise it was being
moderated.

Here's the answer from the other post (from David Turner):

Known issue, "cygpath -m" is called for each source file before the
build
begins, and this is super slow on Cygwin.
This is a temporary problem until we get rid of Cygwin in the NDK (in
a
future NDK release, and hopefully the next one).

If this is a big problem, consider replacing the definition for host-
path in
build/core/definitions.mk with something like:

host-path = $(patsubst /cygdrive/c/%,c:/%,\
                         $(patsubst /cygdrive/d/%,d:/%, \
                            $1))

This assumes you're using the default cygwin drive mounting scheme,
adapt if
necessary.


On Dec 14, 9:43 pm, TonyMcB <[email protected]> wrote:
> Hi,
>
> I was previously using the old makefile system but switched over to
> the android.mk system to compile my c++ files using ndk-build.
>
> Everything works ok but when I run ndk-build with several c++ files in
> my android.mk (about 100) it seems to stall for about a minute or two
> before starting to compile each file - even then the file compilation
> seems to be slower than the old system.
>
> I suspect it must be searching paths or doing some kind of disk access
> for the stall period but I'm not sure what. Has anyone got any ideas
> what might be causing the slowdown? It's become pretty much unusable
> to wait several minutes each time I change one c++ file :(
>
> Many thanks,
> Tony

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to