[lto] libelf header

2006-07-11 Thread Gabriel Dos Reis
Hi, My first attempt to compile the lto branch met with resistance: /home/gdr/redhat/lto.gcc/gcc/lto/lto-elf.c:27:20: error: libelf.h: No such file or directory libelf (0.8.5-35) is installed on my system in the standard include directory (/usr/include) as libelf/libelf.h.

Re: [lto] libelf header

2006-07-11 Thread Jakub Jelinek
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

Re: [lto] libelf header

2006-07-11 Thread Daniel Berlin
Gabriel Dos Reis wrote: Hi, My first attempt to compile the lto branch met with resistance: /home/gdr/redhat/lto.gcc/gcc/lto/lto-elf.c:27:20: error: libelf.h: No such file or directory libelf (0.8.5-35) This libelf is too old, see michael matz's message. You are going to have to

Re: [lto] libelf header

2006-07-11 Thread Gabriel Dos Reis
Jakub Jelinek [EMAIL PROTECTED] writes: | 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

Re: [lto] libelf header

2006-07-11 Thread Gabriel Dos Reis
Daniel Berlin [EMAIL PROTECTED] writes: [...] | libelf (0.8.5-35) | | This libelf is too old, see michael matz's message. Which one is it? -- Gaby