Forums - Simple LLVM C program for the SnapDragon 820 and Android

1 post / 0 new
Simple LLVM C program for the SnapDragon 820 and Android
ron.donio
Join Date: 24 Sep 17
Posts: 2
Posted: Tue, 2017-09-26 06:14

Hi

I want to build a simple C code like "Hello World" and run it on the Snapdagon 820 Android.

I folowed the instructions of the LLVM

https://developer.qualcomm.com/download/sdllvm/readme-snapdragon-llvm.pdf

I build eclipse and folwed the debugger instructions

https://developer.qualcomm.com/software/snapdragon-debugger-eclipse/

I have android-ndk-r11b with the LLVM installed in it.

My main issue is the how to compile and link.

Can I get the compiler flags and linker flags and linker libraries required to build such an application?

This is step 0 and I miss somthing.

 

Many thanks, Ron.

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