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, May 19, 2009 at 11:18, Joseph S. Myers <joseph@codesourcery.com> wrote:
> 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.

Of course.  It's on my todo list.  Patches welcome.


Diego.


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