On 03/16/2018 01:34 PM, enh wrote:
>> Ah, here's the problem:
>>
>> $ /opt/android/x86-64/bin/llvm-cc -llog hello.c
>> $ ./a.out
>> bash: ./a.out: No such file or directory
>> $ /opt/android/x86-64/bin/llvm-cc -llog hello.c --static
>> /opt/android/x86-64/bin/../lib/gcc/aarch64-linux-android/4.9.x/
On Mon, Mar 12, 2018 at 11:06 AM, Rob Landley wrote:
> On 03/10/2018 11:06 PM, enh wrote:
>>> $ sudo build/tools/make_standalone_toolchain.py --arch x86_64 --api 26 \
>>> --stl=libc++ --install-dir=/opt/android/x86-64
>>> $ CROSS_COMPILE=/opt/android/x86-64/bin/llvm- CFLAGS=--static make defconf
On 03/10/2018 11:06 PM, enh wrote:
>> $ sudo build/tools/make_standalone_toolchain.py --arch x86_64 --api 26 \
>> --stl=libc++ --install-dir=/opt/android/x86-64
>> $ CROSS_COMPILE=/opt/android/x86-64/bin/llvm- CFLAGS=--static make defconfig
>> It has no llvm-cc... ok then:
>> $ sudo ln -s clang /
On Sat, Mar 10, 2018 at 8:26 PM, Rob Landley wrote:
> On 03/09/2018 03:54 PM, enh wrote:
>> well, that took a lot longer than expected... but r17beta1 is out now
>> with an up-to-date libc.a.
>>
>> download: https://github.com/android-ndk/ndk/wiki#current-beta-release
>> release notes: https://git
On 03/09/2018 03:54 PM, enh wrote:
> well, that took a lot longer than expected... but r17beta1 is out now
> with an up-to-date libc.a.
>
> download: https://github.com/android-ndk/ndk/wiki#current-beta-release
> release notes: https://github.com/android-ndk/ndk/wiki/Changelog-r17-beta1
>
> stand
well, that took a lot longer than expected... but r17beta1 is out now
with an up-to-date libc.a.
download: https://github.com/android-ndk/ndk/wiki#current-beta-release
release notes: https://github.com/android-ndk/ndk/wiki/Changelog-r17-beta1
standalone toolchain example:
https://developer.androi
n 02/14/2018 06:30 PM, enh wrote:
> On Wed, Feb 14, 2018 at 3:36 PM, Rob Landley wrote:
>> More to the point all of this _compiled_, meaning it's in the headers. And
>> then
>> it couldn't find it in the libraries. So there's a consistency issue
>> somewhere.
>
> i suspect you said "--api 26"
On Wed, Feb 14, 2018 at 3:36 PM, Rob Landley wrote:
> I grabbed the current ndk (-r16b), make_standalone_toolchain.py'd an --arch
> x86_64 --api 26 toolchain, and then built defconfig toybox with it, and at
> link
> time it failed to find:
>
> '__android_log_write'
> 'facilitynames'
> 'getgrgi
I grabbed the current ndk (-r16b), make_standalone_toolchain.py'd an --arch
x86_64 --api 26 toolchain, and then built defconfig toybox with it, and at link
time it failed to find:
'__android_log_write'
'facilitynames'
'getgrgid_r'
'iconv'
'iconv_open'
'prioritynames'
'sethostname'
'stderr'