This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [lto] libelf header
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- Cc: gcc at gcc dot gnu dot org, mark at codesourcery dot com
- Date: Tue, 11 Jul 2006 21:52:36 +0200
- Subject: Re: [lto] libelf header
- References: <m364i3g80o.fsf@zeus.integrable-solutions.net>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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