cross-platform-rust icon indicating copy to clipboard operation
cross-platform-rust copied to clipboard

make_standalone_toolchain.py: error: unrecognized arguments: --unified-headers

Open adaszko opened this issue 6 years ago • 1 comments

Hi, I was following the excellent article and came across this problem:

$ ${NDK_HOME}/build/tools/make_standalone_toolchain.py --unified-headers --api 21 --arch arm64 --install-dir NDK/arm64
usage: make_standalone_toolchain.py [-h] --arch
                                    {arm,arm64,mips,mips64,x86,x86_64}
                                    [--api API]
                                    [--stl {gnustl,libc++,stlport}] [--force]
                                    [-v]
                                    [--package-dir PACKAGE_DIR | --install-dir INSTALL_DIR]
make_standalone_toolchain.py: error: unrecognized arguments: --unified-headers

It looks like the --unified-headers option has been made the default. Does it make sense to update the article accordingly?

adaszko avatar Feb 25 '18 08:02 adaszko

Thank you for spotting this. I will certainly update the article.

fluffyemily avatar Feb 26 '18 08:02 fluffyemily