Basile STARYNKEVITCH <bas...@starynkevitch.net> writes:

> In plugin mode  (for the few plugins using PLUGIN_REGISTER_GGC_ROOTS),
> gengtype needs a file list. So a plugin build (in its own directory) would
> want to run (in Makefile syntax)
> $(GCCBUILD)/gcc/gengtype -p $(GCCSOURCE)/gcc
> $(GCCBUILD)/gcc/gtype-input.list plugin.c
>
> However, this won't work, because the gtype-input.list contains (even when
> GCC was configured with absolute paths) a few relative file paths (notably
> auto-host.h).

Perhaps gengtype should be modified to always treat the files in
gtyp-input.list relative to location of that file.

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

Reply via email to