bug-gnulib
[Top][All Lists]
Advanced

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

Re: mempcpy on Android


From: Reuben Thomas
Subject: Re: mempcpy on Android
Date: Sat, 3 Nov 2018 12:54:01 +0000

On Sat, 3 Nov 2018, 12:28 Bruno Haible <address@hidden wrote:
Reuben Thomas wrote:
> > You need to use the same Android API value in
> >   - the -D__ANDROID_API__=${ANDROID_API} option
> >   - the
> > -B${ANDROID_SDK}/ndk-bundle/platforms/android-${ANDROID_API}/arch-arm/usr/lib
> >     option
> >
> > as I showed in the intialization script.
> >
>
> Since I'm not setting the API version at all, that implies there's a bug in
> the configuration of Termux?

How does your compilation environment look like?
Do you compile natively inside Termux? Or do you do a cross-compilation?
Are you using gcc or clang?
Who has defined the __ANDROID_API__ value and the -L options in your
compilation environment?

I'm compiling with clang natively in Termux. All the options are set by Termux. __ANDROID_API__ in particular is set by a Termux header that is included by most of the system headers, in this case string.h. The -L options again are all default.

reply via email to

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