flang-compiler / flang

Flang is a Fortran language front-end designed for integration with LLVM.
Other
808 stars 137 forks source link

Freestanding Support #272

Open Immortalin opened 7 years ago

Immortalin commented 7 years ago

Hi! Is it possible to add support for freestanding compilation target? i.e. bare metal. This would make it possible to run Fortran on many embedded and real time systems

sscalpone commented 6 years ago

What do you have in mind?

Immortalin commented 6 years ago

Many embedded systems don't have full POSIX access. Would be nice if flang allows manual definition of primitives etc. in a separate file. Rust and C address this issue pretty well.