[lto] libelf header

Gabriel Dos Reis gdr@integrable-solutions.net
Tue Jul 11 19:43:00 GMT 2006


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



More information about the Gcc mailing list