[lto] libelf header
Jakub Jelinek
jakub@redhat.com
Tue Jul 11 19:52:00 GMT 2006
On Tue, Jul 11, 2006 at 11:13:11PM +0200, Gabriel Dos Reis wrote:
> lto/lto-elf.c:27 currently says
>
> #include "libelf.h"
>
>
> Should that read
>
> #include <libelf/libelf.h>
No, because on other systems it is directly in /usr/include:
rpm -qf /usr/include/libelf.h
elfutils-libelf-devel-0.119-1.2.1
and there is no /usr/include/libelf/ directory.
Guess GCC configure should make sure the needed -I path_to_libelf_h
is added if it is not already in the system search path.
Jakub
More information about the Gcc
mailing list