flang
flang copied to clipboard
Compiling the flang runtime for a 32 bit x86 machine
I am trying to compile the flang runtime for a 32bit x86 target. I have been able to compile OpenMP for a 32 bit target, but when I tried to compile the flang runtime I ran into a compiler error when compiling libpgmath.
I tried to build the generic libpgmath target, but ran into compiler errors since __uint128_t is not supported on 32bit targets. Do you have any suggestions or workarounds that may allow me to compile a 32bit flang runtime.
Thanks
I don't have any advice for you. I hope someone else does.
I can only tell you that the compiler source that was used to start this Flang project had dropped 32-bit support quite a while ago. Getting Flang to compile and run correctly as a 32-bit application could be really challenging.