SV: AOT compiling and libraries to link against

Petter Tomner tomner@kth.se
Sat Jan 29 22:26:07 GMT 2022


The docs are not synced with the addition of gcc_jit_context_add_driver_option,
which allows linking.

You can use:

E.g.
gcc_jit_context_add_driver_option(ctxt, "obj.o")
or
gcc_jit_context_add_driver_option(ctxt, "-L.")
gcc_jit_context_add_driver_option(ctxt, "-lwhatever")

for that.

Regards,    


More information about the Jit mailing list