Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update android build #117

Closed
palango opened this issue Jan 17, 2023 · 1 comment
Closed

Update android build #117

palango opened this issue Jan 17, 2023 · 1 comment
Labels
cross-compilation enhancement New feature or request

Comments

@palango
Copy link
Contributor

palango commented Jan 17, 2023

The current android build recommends the following changes:

WARNING:__main__:make_standalone_toolchain.py is no longer necessary. The
$NDK/toolchains/llvm/prebuilt/linux-x86_64/bin directory contains target-specific scripts that perform
the same task. For example, instead of:

    $ python $NDK/build/tools/make_standalone_toolchain.py \
        --arch x86 --api 21 --install-dir toolchain
    $ toolchain/bin/clang++ src.cpp

Instead use:

    $ $NDK/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android21-clang++ src.cpp

Maybe helpful: https://gist.github.com/pgp/f4c3bbf67821bd131812a8658f016fbc

@palango palango added cross-compilation enhancement New feature or request labels Jan 17, 2023
@palango
Copy link
Contributor Author

palango commented Jan 18, 2023

Duplicate of #22

@palango palango marked this as a duplicate of #22 Jan 18, 2023
@palango palango closed this as completed Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cross-compilation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant