-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to compile simple program in AOT mode? #1119
Comments
After adding libraries to link
|
tutorial02aot is example on how to hook up aot to the application |
Thanks for the response. Unfortunately, I neither understand the example (without additional comments or documentation) nor make script (and I'm not sure that I want to learn how to use it). Would you like to help me with a simple command I can run from the console on the Linux system? The project is very easy and doesn't need any additional hacks (in my opinion at least), so maybe I just need a couple of commands to make it run. |
ok. short version. compile daScriptProfile.exe. run it like this daScriptProfile -test fib_loop. |
Ok, I will try 👍 |
I would like to use scripts in c++ build-system: https://github.com/MaxwellGengYF/daScript/blob/master/xmake/xmake_func.lua |
Hi, I have the following code in
fibI.das
fileI call
das -aot fibI.das fibI.cpp
which createsfibI.cpp
filewhen I'm trying to build executable with the command
clang++ -O3 -I../include fibI.cpp -o fib_das
, I have an errorWhat I'm doing incorrectly? Unfortunately, I haven't found instruction in the documentation, and I don't understand
tutorial02
thing and how I can apply it to my case?I'm on Arch Linux, with lastest GCC and Clang and dev tools
The text was updated successfully, but these errors were encountered: