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]
Other format: [Raw text]

Re: [PATCH]: Fix PR bootstrap/29402 parallel make bug


> +	$(GTFILES_LANG_DIR_NAMES_H) | tr ' .' "$$gcc_LF_and_dot"  | sort -u)

If line endings are \r\n, won't this replace spaces with \r and
EVERYTHING ELSE with \n's ?

Might be easier to have the build first build a helper program that
does these weird make things, then rely on that instead of bizzare
shell-isms.  The DJGPP build system does that; one helper with a bunch
of command line options to do all the odd things the build needs that
it can't rely on DOS for.

For example, that rule would be:

ALL_GTFILES_H := `${HELPER} nodups $(GTFILES_FILES_FILES_H) $(GTFILES_LANG_DIR_NAMES_H)`

Hmmm... that's something that could go in libiberty, perhaps?


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