Forums - More detailed instructions to compile standalone toolchain

1 post / 0 new
More detailed instructions to compile standalone toolchain
aanickolopoulos
Join Date: 16 Dec 19
Posts: 1
Posted: Wed, 2020-01-08 19:01

I cannot get this to make a stand alone toolchain for the life of me. If I follow the readme.txt, no matter what I get "make_standalone_toolchain_snapdragon_llvm.py: command not found"? If I use "python make_standalone_toolchain_snapdragon_llvm.py --arch arm64 --api 28" I got a couple missing file errors. After fixing that, and placing files correctly, I get:

dukhawk@laptop:~/android-ndk-r18b/snapdragon-llvm-8.0.6-linux64/build/tools$ python make_standalone_toolchain_snapdragon_llvm.py --arch arm64 --api 28
Traceback (most recent call last):
  File "make_standalone_toolchain_snapdragon_llvm.py", line 545, in <module>
    main()
  File "make_standalone_toolchain_snapdragon_llvm.py", line 529, in main
    sysroot_path, host_tag)
  File "make_standalone_toolchain_snapdragon_llvm.py", line 390, in create_toolchain
    copy_directory_contents(prebuilt_path, install_path)
  File "make_standalone_toolchain_snapdragon_llvm.py", line 175, in copy_directory_contents
    os.symlink(linkto, dst_file)
OSError: [Errno 17] File exists

Lost.




 

  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.