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] libelf header


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


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