Forums - More detailed instructions to compile standalone toolchain

2 posts / 0 new
Last post
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
isshin1980
Join Date: 30 Jan 21
Posts: 1
Posted: Sun, 2021-01-31 17:44
replace build foder in your sdk with build folder from qualcom for me i rename the original and paste the qualcom put llvm folder from qualcom to the toolchain folder in your sdk direct execute the .py with python for parameter just follow the pdf wait for 1 or 2 minutes and your compiler will be build up succesfully sorry for my bad english.. hope that can help
  • Up0
  • Down0
or Register

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.