Comments (3)
The name of a main program in flang is MAIN_.
I was able to run hello.f90 with this command (where $flang is my install directory):
$flang/bin/lli -entry-function=MAIN_ -load=$flang/lib/libflangrti.so -load=$flang/lib/libflang.so hello.bc
hello world from from hello.f90
from flang.
Thank you, worked also for me.
BTW, do you know of any effort to make flang work with Emscripten?
from flang.
No idea about Emscripten.
from flang.
Related Issues (20)
- [OMP_OFFLOAD_LLVM] Crash due to gbl.ompaccfile is NULL HOT 4
- [OMP_OFFLOAD_LLVM] Undefined references to .omp_offloading symbols HOT 3
- Regression caused by #PR1076 HOT 3
- Fix 'dllimport' code generation for opaque type
- Error while build classic flang with llvm 16.04 HOT 2
- SPEC2017 521_r run error HOT 14
- error: expected '(' HOT 2
- Incorrect information when the type-spec for the dimension of the function result contains the UBOUND intrinsic. HOT 2
- flang bug about cbind HOT 2
- Flang about its LLVM IR HOT 3
- The 'contiguous' attribute does not enforce an array passed to a subroutine to be contiguous
- flang-new version 17 and 18 compiler crash HOT 2
- 521.wrf_r segfaults when built with -flto=full -O2 HOT 17
- flang always produces debuginfo HOT 2
- [from discourse] Wrong understanding of the rules for lbound and ubound for non-pointer dummy arguments HOT 6
- Uninitialized stack variable during string initialization in a function that returns a string of the parametrized length
- `malloc(): corrupted top size` after allocating array of polymorphic data type elements
- [regression] An ICE while building libmbd after PR #1422 HOT 3
- ICE while building libmbd HOT 1
- Port Classic Flang to RISC-V HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flang.