========================
| |
| JAI |
| / \ |
| / ♥ \ |
| / \ |
| x86-64 ——— C/C++ |
| |
========================
Some simple examples that'll help you comingle your code, if you are into that kind of thing.
On most unix-based systems the following should work†:
./build.sh [test]†: must have a jai compiler...
-
C/C++executable calling into:- static
Jailibrary - static
nasm (x86-64)library
- static
-
Jaiexecutable calling into:- static
C/C++library - static
nasm (x86-64)library
- static
-
nasm (x86_64)executable calling into:- static
C/C++library - static
nasm (x86-64)library - (coming soon) static
Jailibrary (has some extra libc linking requirements)
- static
** disclaimer, the nasm (x86-64) examples will only work on 64-bit linux systems, though Windows/MASM (x86-64)
examples could be worked out with some minor syntactical changes and slightly more laborious
calling-convention changes.