On Tue, 19 May 2009, Eric Fisher wrote:

> Hello,
> 
> I have the libelf installed in a non-standard path, so when I build
> the lto branch, I set the such env variables,
> 
> $ export CPPFLAGS="-I<path-to-libelf-headers>"  <- Only needed if
> libelf is in a non-standard path
> $ export LDFLAGS="-L<path-to-libelf-lib>"       <- Only needed if
> libelf is in a non-standard path

LTO needs a --with-libelf configure option before it merges to trunk, if 
it doesn't already have one, as with the options for all the other host 
libraries used by GCC.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to