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] LDFLAGS get lost in stage2


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
joseph@codesourcery.com


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