Forums - Using custom toolchain to compile for UbuntuARM

1 post / 0 new
Using custom toolchain to compile for UbuntuARM
rohit.unnimadhavan
Join Date: 12 Feb 18
Posts: 4
Posted: Thu, 2018-04-19 22:26

Hi,

I am trying to compile one of the SDK examples for Linux envt. By default, Hexagon SDK looks for linaro toolchain when UbuntuARM build variant is used. When I download linaro toolchain to Hexagon SDK folder, I am able to compile the example succesfully for UbuntuARM variant. However, I have a proprietrary toolchain which needs to be used instead of linaro. How can I setup the Hexagon SDK to source its compiler for UbuntuARM variant from a location I specify?

I tried modifying the UBUNTUARM_DIR macro in defines_UbuntuARM_Release_aarch64.min file and setup_sdk_env.source script file. This seems to get reflected. But unfortunately, the SDK seems to be looking for the compiler at "UBUNTUARM_DIR/bin" directory. In my case, the compiler binaries are not located directly in a "bin" folder but in a subdirectory inside "bin".  Can someone help me in setting up the SDK to source the compiler properly from a path I can specify?

Thanks,

Rohit

 

  • 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.