This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: Fix PR bootstrap/29402 parallel make bug
- From: DJ Delorie <dj at redhat dot com>
- To: ghazi at caip dot rutgers dot edu
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 12 Oct 2006 16:09:41 -0400
- Subject: Re: [PATCH]: Fix PR bootstrap/29402 parallel make bug
- References: <Pine.GSO.4.58.0610121205080.6425@caipclassic.rutgers.edu>
> + $(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?