Hi, I am trying to isolate the dump tool into real lto-dump tool. I have started with the copy&paste of lto.c into lto-dump.c and done the changes to Make-lang.in and config-lang.in suggested by Martin (patch attached). However when I try to build, I get the following error:
In file included from ../../gcc/gcc/lto/lto-dump.c:24:0: ../../gcc/gcc/coretypes.h:397:24: fatal error: insn-modes.h: No such file or directory compilation terminated. I am unable to find the missing dependencies and would be grateful for suggestions on how to resolve the issue. Please advise, Regards, Hrishikesh On Wed, Jun 13, 2018 at 2:21 PM, Martin Liška <mli...@suse.cz> wrote: > Hi. > > There's working patch that really generates lto-dump binary. > > Martin