LLVM Discussion Forums



I read somewhere that the current FLang (Ubuntu flang package) can not cross-compile. I would like to know if the “new” FLang (f18) can, ans if yes, then if/how it’s possible to use it alongside Google’s Android-CLang-toolchain to compile Fortran for Android.

I’m interested in this because I want to cross-compile OpenBLAS.



Hi Thorsten,

Flang/F18 has only been merged to LLVM recently (https://github.com/llvm/llvm-project/commit/b98ad941a40c96c841bceb171725c925500fce6c). I don’t know the answer to your specific question, but this project is still work-in-progress and it will be a while.

The good news is that there’s a lot of interest and desire to make this happen ASAP :slightly_smiling_face: