Configure error with "--enable-lto" on mingw
Naveen H. S
Naveen.S@kpitcummins.com
Thu Dec 9 11:41:00 GMT 2010
Hi,
We are building the linux and windows toolchain configured with
"--enable-lto" option.
There were no problems while building linux toolchain.
However, we are facing the following error while building
windows toolchain on mingw environment.
===================== Error Encountered============================
checking libelf.h usability... no
checking libelf.h presence... no
checking for libelf.h... no
checking gelf.h usability... no
checking gelf.h presence... no
checking for gelf.h... no
checking libelf/libelf.h usability... no
checking libelf/libelf.h presence... no
checking for libelf/libelf.h... no
checking libelf/gelf.h usability... no
checking libelf/gelf.h presence... no
checking for libelf/gelf.h... no
configure: error: LTO support requires libelf.h or libelf/libelf.h.
===================== Error Encountered============================
We could not get any useful information to solve the above problem.
Can anyone please help us to solve the issue?
Thanks & Regards,
Naveen
More information about the Gcc-help
mailing list