Comments (2)
You have to cope with the argument passing into your julia function in the program.c file yourself - the juliac script is not generating the "glue" program.c file, that's for now the manual task for programmer. Look into the program2.c
file to see what to do in order to convert arguments of the main / wmain function and pass them to the julia function.
from static-julia.
Thanks! Using program2.c
works very well, so I'm closing this.
from static-julia.
Related Issues (20)
- Building so versions of packages? HOT 2
- Project status and goals HOT 6
- Generating the single binary. HOT 2
- Segfault when gc runs? HOT 2
- Warning compiling program.c with ARGS HOT 1
- Set JULIA_HOME? HOT 1
- Compilation fails under Windows10 HOT 9
- Portability: LLVM error when running in different architecture
- Feature request: Automatically generate header file HOT 2
- Passing command line arguments HOT 1
- Compiled hello.jl hangs HOT 3
- Readme example fails when renaming hello.jl to hi.jl HOT 3
- Document what the result is in the README
- After #54, default compile doesn't build julia object. HOT 5
- exec format error: ./hello.o in MacOS (and It takes so long time to compile!!!) HOT 2
- Can juliac compile(bootstrap) itself? "required argument juliaprog was not provided".
- Handle package binary dependencies
- Library not loaded: @rpath/"libtiny.dylib" -- image not found HOT 1
- error LoadError: ArgumentError: broadcasting over dictionaries and `NamedTuple`s is reserved 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 static-julia.