Replies: 1 comment
-
I'm not sure if i get the question correctly, but if you want to compile separate units like you do in C this is already possible with the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i have 2 ST files, named as myprogram.st and myfunction.st & one main.cpp
and inside myprogram.st i am calling one function from myfunction.st.
so in order to compiles i have to give following commands
rustyc -c myfunction.st myprogram.st -o st.o
clang++ -c main.cpp -o main.o
clang++ main.o st.o -o Test
for 1st command can i compiled myfunction.st & myprogram.st separately using rusty and then i link then together with main.o to create executable Test.
Beta Was this translation helpful? Give feedback.
All reactions