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]

[lto] libelf header


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.   

lto/lto-elf.c:27 currently says

   #include "libelf.h"


Should that read

   #include <libelf/libelf.h>

?

-- Gaby


-- 
                                                       Gabriel Dos Reis 
                                           gdr@integrable-solutions.net


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