about header file parsing

Marc Nieper-Wißkirchen marc@nieper-wisskirchen.de
Tue Jan 1 00:00:00 GMT 2019


Am Di., 8. Jan. 2019 um 22:16 Uhr schrieb Basile Starynkevitch
<basile@starynkevitch.net>:

[...]

> Still another thing could be to use LTO: you'll compile your C file with
> GCC using -flto, you'll do LIBGCCJIT things, and the final executable
> sould be compiled and linked with -flto.

Is using:

gcc_jit_context_add_command_line_option (ctxt, "-flto helper.o");

supported to have the object generated by libgccjit statically linked
with the object helper.o before libgccjit emits the final dynamic
library? (Let's assume that helper.o has been compiled with -flto.)

[...]

-- Marc



More information about the Jit mailing list