On Fri, Oct 17, 2008 at 15:09, Andrew Pinski <[EMAIL PROTECTED]> wrote:

> Yes, so you can just link the files without any LTO at all.  That is
> you can have the object files act like real object files in the
> process of compiling.

You can do that with IL-only objects too, as long as you use gcc.  The
gimple emitted in the objects does not need to be compiled in lto
mode.

So if you have:

$ gcc -c -flto file1.c
$ gcc -c file2.c
$ gcc -o binary file1.o file2.o

You will get a regular binary not compiled in LTO mode.  The only
difference is that lto1 will be involved to finish the compilation of
file1.o.


Diego.

Reply via email to