How to use LLVM to compile to other platforms? #9574
              
                Unanswered
              
          
                  
                    
                      xuxiaocheng0201
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
According to another discussion, I use graalvm 23.0.1, which is the last version that can use LLVM without building from source code.
I added
-H:CompilerBackend=llvmoption, and successfully built the artifacts. But these still worked on the host platform.I tried to add
--target android-aarch64, but it printedError: Unrecognized option: --target.So what should I do to complie to other platforms?
Beta Was this translation helpful? Give feedback.
All reactions