This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: lto and compile flag associations


On 5/16/10 23:18 , Jack Howarth wrote:
>    What is the current LTO design with regards to the
> retention of compiler flags during the actual link
> time optimization compilation steps. For example, if

Some options are embedded, but not all (see lto-opts.c).  You will need
to pass the same flags to the compile and link commands.  The options
that are saved are reapplied at link-time, but no merging is done (the
options taken from the first file in the link command are used).


Diego.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]