This is the mail archive of the gcc-patches@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]

Re: x-files must die: generate *config.h from the Makefile, etc


> Just to confirm what I think you said above: this is the tree
> _without_ my patch?

Well, I tried to apply your patch, but I believe none of it
was applied. Sorry I can't be more precise.

> Could you send me the output of 'grep xm_file Makefile' in objdir/gcc,
> please? It looks like make hasn't been told that sparc/xm-sysv4.h
> lives in $(srcdir)/config.  configure is supposed to get that right,
> so...

banach-122% grep xm_file gcc/Makefile 
build_xm_file_list= auto-host.h gansidecl.h $(srcdir)/config/sparc/xm-sysv4.h $(srcdir)/config/sparc/sol2-sld.h defaults.h hwint.h
build_xm_file=auto-host.h gansidecl.h  sparc/xm-sysv4.h sparc/sol2-sld.h defaults.h hwint.h
host_xm_file_list= auto-host.h gansidecl.h $(srcdir)/config/sparc/xm-sysv4.h $(srcdir)/config/sparc/sol2-sld.h defaults.h hwint.h
host_xm_file=auto-host.h gansidecl.h  sparc/xm-sysv4.h sparc/sol2-sld.h defaults.h hwint.h
xm_file=gansidecl.h  sparc/xm-sysv4.h sparc/sol2-sld.h defaults.h
GCONFIG_H = config.h $(host_xm_file_list)
HCONFIG_H = hconfig.h $(build_xm_file_list)
TCONFIG_H = tconfig.h $(xm_file_list) insn-codes.h
       HEADERS="$(host_xm_file)" DEFINES="$(host_xm_defines)" \
       HEADERS="$(build_xm_file)" DEFINES="$(build_xm_defines)" \
       HEADERS="$(xm_file)" DEFINES="" TARGET_CPU_DEFAULT="" \
genemit.o : genemit.c $(RTL_H) $(build_xm_file) system.h errors.h gensupport.h
genopinit.o : genopinit.c $(RTL_H) $(build_xm_file) \
genpeep.o : genpeep.c $(RTL_H) $(build_xm_file) system.h errors.h gensupport.h
genattr.o : genattr.c $(RTL_H) $(build_xm_file) system.h errors.h gensupport.h
genattrtab.o : genattrtab.c $(RTL_H) $(OBSTACK_H) $(build_xm_file) \
gen-protos.o: gen-protos.c scan.h $(build_xm_file) system.h
scan.o: scan.c scan.h $(build_xm_file) system.h
	xsys-protos.h $(build_xm_file) system.h cpplib.h
scan-decls.o: scan-decls.c scan.h cpplib.h $(build_xm_file) system.h

Brad


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